#include <common/QsLog/QsLog.h>
|
| class | Helper |
| | The helper forwards the streaming to QDebug and builds the final log message. More...
|
| |
|
| void | addDestination (std::shared_ptr< Destination > destination) |
| | Adds a log message destination. Don't add null destinations.
|
| |
| void | setLoggingLevel (Level newLevel) |
| | Logging at a level < 'newLevel' will be ignored.
|
| |
| Level | loggingLevel () const |
| | The default level is INFO.
|
| |
| const QString & | zone () const |
| |
| bool | isLoggingEnabled () const |
| | Returns true if logging level is lower than or equal to FatalLevel.
|
| |
| bool | isTraceEnabled () const |
| | Returns true if logging level is lower than or equal to TraceLevel.
|
| |
| bool | isDebugEnabled () const |
| | Returns true if logging level is lower than or equal to DebugLevel.
|
| |
| bool | isInfoEnabled () const |
| | Returns true if logging level is lower than or equal to InfoLevel.
|
| |
| bool | isWarnEnabled () const |
| | Returns true if logging level is lower than or equal to WarnLevel.
|
| |
| bool | isErrorEnabled () const |
| | Returns true if logging level is lower than or equal to ErrorLevel.
|
| |
| bool | isFatalEnabled () const |
| | Returns true if logging level is lower than or equal to FatalLevel.
|
| |
| Logger & | operator= (const Logger &) |
| |
Definition at line 59 of file QsLog.h.
◆ addDestination()
| void QsLogging::Logger::addDestination |
( |
std::shared_ptr< Destination > |
destination | ) |
|
Adds a log message destination. Don't add null destinations.
Definition at line 108 of file QsLog.cpp.
◆ instance()
| static Logger & QsLogging::Logger::instance |
( |
const QString & |
zone = QLatin1String("") | ) |
|
|
inlinestatic |
◆ isDebugEnabled()
| bool QsLogging::Logger::isDebugEnabled |
( |
| ) |
const |
Returns true if logging level is lower than or equal to DebugLevel.
Definition at line 136 of file QsLog.cpp.
◆ isErrorEnabled()
| bool QsLogging::Logger::isErrorEnabled |
( |
| ) |
const |
Returns true if logging level is lower than or equal to ErrorLevel.
Definition at line 151 of file QsLog.cpp.
◆ isFatalEnabled()
| bool QsLogging::Logger::isFatalEnabled |
( |
| ) |
const |
Returns true if logging level is lower than or equal to FatalLevel.
Definition at line 156 of file QsLog.cpp.
◆ isInfoEnabled()
| bool QsLogging::Logger::isInfoEnabled |
( |
| ) |
const |
Returns true if logging level is lower than or equal to InfoLevel.
Definition at line 141 of file QsLog.cpp.
◆ isLoggingEnabled()
| bool QsLogging::Logger::isLoggingEnabled |
( |
| ) |
const |
Returns true if logging level is lower than or equal to FatalLevel.
Definition at line 125 of file QsLog.cpp.
◆ isTraceEnabled()
| bool QsLogging::Logger::isTraceEnabled |
( |
| ) |
const |
Returns true if logging level is lower than or equal to TraceLevel.
Definition at line 131 of file QsLog.cpp.
◆ isWarnEnabled()
| bool QsLogging::Logger::isWarnEnabled |
( |
| ) |
const |
Returns true if logging level is lower than or equal to WarnLevel.
Definition at line 146 of file QsLog.cpp.
◆ loggingLevel()
| Level QsLogging::Logger::loggingLevel |
( |
| ) |
const |
The default level is INFO.
Definition at line 120 of file QsLog.cpp.
◆ operator=()
◆ setLoggingLevel()
| void QsLogging::Logger::setLoggingLevel |
( |
Level |
newLevel | ) |
|
Logging at a level < 'newLevel' will be ignored.
Definition at line 115 of file QsLog.cpp.
◆ zone()
| const QString & QsLogging::Logger::zone |
( |
| ) |
const |
◆ LoggerImpl
The documentation for this class was generated from the following files: