4 #ifndef OWT_BASE_LOGGING_H_ 5 #define OWT_BASE_LOGGING_H_ 8 enum class LoggingSeverity : int {
28 static void Severity(LoggingSeverity severity);
34 static void LogToFileRotate(LoggingSeverity severity, std::string& dir,
size_t max_log_size);
36 static LoggingSeverity min_severity_;
40 #endif // OWT_BASE_LOGGING_H Definition: audioplayerinterface.h:8
static void LogToConsole(LoggingSeverity severity)
Set logging to console.
static void LogToFileRotate(LoggingSeverity severity, std::string &dir, size_t max_log_size)
Set logging to files under provided dir rotately.
static LoggingSeverity Severity()
Get current logging severity.