#include <sbErrorConsole.h>
|
static void | Error (char const *aCategory, nsAString const &aMessage, nsAString const &aSource=nsString(), PRUint32 aLine=0) |
|
static void | Warning (char const *aCategory, nsAString const &aMessage, nsAString const &aSource=nsString(), PRUint32 aLine=0) |
|
static void | Message (char const *aFmt,...) |
|
Class that helps with the use of the error console service. This may be called from any thread, main thread code handled internally Usage: sbErrorConsole::Error("Category", "Message", "Source", 123); sbErrorConsole::Warning("Category", "Message", "Source", 123);
Definition at line 47 of file sbErrorConsole.h.
void sbErrorConsole::Error |
( |
char const * |
aCategory, |
|
|
nsAString const & |
aMessage, |
|
|
nsAString const & |
aSource = nsString() , |
|
|
PRUint32 |
aLine = 0 |
|
) |
| |
|
static |
void sbErrorConsole::Message |
( |
char const * |
aFmt, |
|
|
|
... |
|
) |
| |
|
static |
void sbErrorConsole::Warning |
( |
char const * |
aCategory, |
|
|
nsAString const & |
aMessage, |
|
|
nsAString const & |
aSource = nsString() , |
|
|
PRUint32 |
aLine = 0 |
|
) |
| |
|
static |
The documentation for this class was generated from the following files:
- /home/martin/dev/nightingale-hacking/components/moz/errorconsole/src/sbErrorConsole.h
- /home/martin/dev/nightingale-hacking/components/moz/errorconsole/src/sbErrorConsole.cpp