|
TrueReality
v0.1.1912
|
Classes | |
| class | Log |
| Log class which the engine uses for all of its logging needs. More... | |
| class | LogFile |
| A log file. More... | |
| class | LoggingOff |
| Scoped variable to turn off logging (except for always) for a block of code. More... | |
| class | LogImpl |
| class | LogManager |
| Manager for logs. More... | |
| class | LogTimeProvider |
| Interface class get the time for the logger. More... | |
| class | LogWriter |
| Interface class to receive messages from the Log. More... | |
| class | LogWriterConsole |
| Specialized LogWriter used to display Log messages in the console window. More... | |
| class | LogWriterFile |
| A specialized LogWriter class that outputs Log messages to a file. More... | |
Functions | |
| static const std::string | LOG_DEBUG_STR ("Debug") |
| String value for DEBUG Logging level. More... | |
| static const std::string | LOG_INFO_STR ("Info") |
| String value for INFO Logging level. More... | |
| static const std::string | LOG_WARNING_STR ("Warning") |
| String value for WARNING Logging level. More... | |
| static const std::string | LOG_ERROR_STR ("Error") |
| String value for ERROR Logging level. More... | |
| static const std::string | LOG_ALWAYS_STR ("Always") |
| String value for ALWAYS Logging level. More... | |
| TR_UTIL_EXPORT LogLevel | LogLevelFromString (const std::string &levelString) |
| Logs level from string. More... | |
| const TR_UTIL_EXPORT std::string & | LogLevelToString (LogLevel logLevel) |
| Logs level to string. More... | |
| static osg::ref_ptr< LogManager > | LOG_MANAGER (NULL) |
| static LogLevel | DEFAULT_LOG_LEVEL (LogLevel::LOG_WARNING) |
|
static |
Referenced by trUtil::Logging::Log::SetDefaultLogLevel().

|
static |
String value for ALWAYS Logging level.
Referenced by LogLevelFromString(), LogLevelToString(), and trUtil::DefaultSettings::SetupLoggingOptions().

|
static |
String value for DEBUG Logging level.
Referenced by LogLevelFromString(), LogLevelToString(), ParseCmdLineArgs(), and trUtil::DefaultSettings::SetupLoggingOptions().

|
static |
String value for ERROR Logging level.
Referenced by LogLevelFromString(), LogLevelToString(), ParseCmdLineArgs(), and trUtil::DefaultSettings::SetupLoggingOptions().

|
static |
String value for INFO Logging level.
Referenced by LogLevelFromString(), LogLevelToString(), ParseCmdLineArgs(), and trUtil::DefaultSettings::SetupLoggingOptions().

|
static |
Referenced by trUtil::Logging::Log::GetInstance(), trUtil::Logging::Log::GetLastLogData(), trUtil::Logging::Log::GetLogManagerRef(), trUtil::Logging::Log::LogHorizRule(), trUtil::Logging::Log::LogMessage(), trUtil::Logging::Log::SetAllLogLevels(), trUtil::Logging::Log::SetAllOutputStreamBits(), trUtil::Logging::Log::SetLogTimeProvider(), and trUtil::Logging::Log::SetTestMode().

|
static |
String value for WARNING Logging level.
Referenced by LogLevelFromString(), LogLevelToString(), ParseCmdLineArgs(), and trUtil::DefaultSettings::SetupLoggingOptions().

| LogLevel trUtil::Logging::LogLevelFromString | ( | const std::string & | levelString | ) |
Logs level from string.
| levelString | The level string. |
Definition at line 32 of file LogLevel.cpp.
References LOG_ALWAYS_STR(), LOG_DEBUG, LOG_DEBUG_STR(), LOG_ERROR, LOG_ERROR_STR(), LOG_INFO, LOG_INFO_STR(), LOG_WARNING, and LOG_WARNING_STR().
Referenced by trUtil::Logging::Log::GetLogLevelForString().


| const std::string & trUtil::Logging::LogLevelToString | ( | LogLevel | logLevel | ) |
Logs level to string.
| logLevel | The log level. |
Definition at line 61 of file LogLevel.cpp.
References LOG_ALWAYS_STR(), LOG_DEBUG, LOG_DEBUG_STR(), LOG_ERROR, LOG_ERROR_STR(), LOG_INFO, LOG_INFO_STR(), LOG_WARNING, and LOG_WARNING_STR().
Referenced by trUtil::Logging::Log::GetLogLevelString().

