Sets the log file name and other global logging state. Calling this function is recommended, and is normally done at the beginning of application init. If you don't call it, all the flags will be initialized to their default values, and there is a race condition that may leak a critical section object if two threads try to do the first log at the same time. See the definition of the enums above fo
| 293 | // loging in to a user partition), however it should never be called more than |
| 294 | // twice. |
| 295 | inline bool InitLogging(const LoggingSettings& settings) { |
| 296 | return BaseInitLoggingImpl(settings); |
| 297 | } |
| 298 | |
| 299 | // Sets the log level. Anything at or above this level will be written to the |
| 300 | // log file/displayed to the user (if applicable). Anything below this level |