|
TrueReality
v0.1.1912
|
Functions | |
| void TR_UTIL_EXPORT | ParseMapNameArgument (int argc, char **argv, std::string &mapName) |
| Finds and returns the name of the map to be loaded from the command line. More... | |
| void TR_UTIL_EXPORT | SetupLoggingOptions (const std::string &logFileName, const std::string &logLevel) |
| Sets up all the default logging options for the software. More... | |
| void trUtil::DefaultSettings::ParseMapNameArgument | ( | int | argc, |
| char ** | argv, | ||
| std::string & | mapName | ||
| ) |
Finds and returns the name of the map to be loaded from the command line.
| argc | The argc. | |
| [in,out] | argv | If non-null, the argv. |
| [in,out] | mapName | Name of the map. |
Definition at line 47 of file DefaultSettings.cpp.
| void trUtil::DefaultSettings::SetupLoggingOptions | ( | const std::string & | logFileName, |
| const std::string & | logLevel | ||
| ) |
Sets up all the default logging options for the software.
| logFileName | Filename of the log file. |
| logLevel | The log level. |
Definition at line 71 of file DefaultSettings.cpp.
References DEBUG, trUtil::Logging::Log::GetInstance(), LOG_A, trUtil::Logging::LOG_ALWAYS_STR(), LOG_DEBUG, trUtil::Logging::LOG_DEBUG_STR(), LOG_ERROR, trUtil::Logging::LOG_ERROR_STR(), LOG_INFO, trUtil::Logging::LOG_INFO_STR(), LOG_WARNING, trUtil::Logging::LOG_WARNING_STR(), trUtil::Logging::Log::SetAllLogLevels(), trUtil::Logging::Log::SetAllOutputStreamBits(), trUtil::Logging::LogFile::SetFileName(), trUtil::Logging::Log::STANDARD, trUtil::Logging::Log::TO_FILE, and trUtil::TR_BUILD_TYPE.
Referenced by main().

