sbErrorConsole Class Reference

#include <sbErrorConsole.h>

Inheritance diagram for sbErrorConsole:
[legend]
Collaboration diagram for sbErrorConsole:
[legend]

Classes

struct  ErrorParams
 

Static Public Member Functions

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,...)
 

Detailed Description

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.

Member Function Documentation

void sbErrorConsole::Error ( char const *  aCategory,
nsAString const &  aMessage,
nsAString const &  aSource = nsString(),
PRUint32  aLine = 0 
)
static

Definition at line 74 of file sbErrorConsole.cpp.

Here is the caller graph for this function:

void sbErrorConsole::Message ( char const *  aFmt,
  ... 
)
static

Definition at line 104 of file sbErrorConsole.cpp.

void sbErrorConsole::Warning ( char const *  aCategory,
nsAString const &  aMessage,
nsAString const &  aSource = nsString(),
PRUint32  aLine = 0 
)
static

Definition at line 89 of file sbErrorConsole.cpp.


The documentation for this class was generated from the following files: