| 35 | static std::unordered_map<std::string, LogLevel> getMapFlag(); |
| 36 | |
| 37 | static constexpr LogLevel getDefaultLogLevel() { |
| 38 | #ifdef EE_DEBUG |
| 39 | return LogLevel::Debug; |
| 40 | #else |
| 41 | return LogLevel::Info; |
| 42 | #endif |
| 43 | } |
| 44 | |
| 45 | static Log* create( const std::string& logPath, const LogLevel& level, bool stdOutLog, |
| 46 | bool liveWrite ); |