#include <log.hh>
Public Methods | |
virtual | ~LogLog () |
Destructor. Does nothing since class is never instantiated. More... | |
virtual void | dummy () const=0 |
This purely virtual function makes this class abstract, which ensures it can never be instantiated. More... | |
Static Public Methods | |
void | init (bool enabled, bool quiet) |
Sets debugEnabled and quietMode. More... | |
void | setInternalDebugging (bool enabled) |
Enable/disable qmmslog internal logging. More... | |
bool | isEnabled () |
Accessor method. More... | |
bool | isQuiet () |
Accessor method. More... | |
void | setQuietMode (bool mode) |
In QuietMode, LogLog produces no debug output; it only prints errors and warns. More... | |
void | debug (QString msg) |
Used to print qmmslog internal debug statements. More... | |
void | warn (QString msg) |
Used to print qmmslog internal warning statements. More... | |
void | error (QString msg) |
Used to print qmmslog internal error statements. More... | |
Static Protected Attributes | |
bool | debugEnabled |
Controls whether to print internal logging calls or not. More... | |
bool | quietMode |
In quietMode only errors and warns generate any output. More... | |
Private Methods | |
LogLog () | |
Constuctor. Does nothing since class is abstract. More... | |
Static Private Attributes | |
QString | DEBUG_KEY |
Defining this value makes qmmslog components print internal log statements to cout . More... | |
QString | PREFIX |
The value "qmmslog: ". More... | |
QString | ERR_PREFIX |
The value "qmmslog:ERROR ". More... | |
QString | WARN_PREFIX |
The value "qmmslog:WARN ". More... |
Qmmslog components clearly cannot issue log statements using qmmslog. It is useful, however, for the user to know what qmmslog is doing.
Enable qmmslog internal logging by defining the qmmslog.debug variable.
All internal debug calls go to cout
while internal error messages go to cerr
. All internal messages are prepended with the string "qmmslog: ".
|
Constuctor. Does nothing since class is abstract.
|
|
Destructor. Does nothing since class is never instantiated.
|
|
Used to print qmmslog internal debug statements.
Output goes to
|
|
This purely virtual function makes this class abstract, which ensures it can never be instantiated.
|
|
Used to print qmmslog internal error statements.
Output goes to
|
|
Sets debugEnabled and quietMode.
|
|
Accessor method.
|
|
Accessor method.
|
|
Enable/disable qmmslog internal logging.
|
|
In QuietMode, LogLog produces no debug output; it only prints errors and warns.
|
|
Used to print qmmslog internal warning statements.
Output goes to
|
|
Defining this value makes qmmslog components print internal log statements to
The value of this string is qmmslog.debug |
|
Controls whether to print internal logging calls or not.
|
|
The value "qmmslog:ERROR ".
|
|
The value "qmmslog: ".
|
|
In quietMode only errors and warns generate any output.
|
|
The value "qmmslog:WARN ".
|