| 4 | |
| 5 | namespace NLoggingImpl { |
| 6 | TString GetLocalTimeSSimple() { |
| 7 | struct tm tm; |
| 8 | return Strftime("%b%d_%H%M%S", Now().LocalTime(&tm)); |
| 9 | } |
| 10 | |
| 11 | TString PrepareToOpenLog(TString logType, const int logLevel, const bool rotation, const bool startAsDaemon) { |
| 12 | Y_ENSURE(logLevel >= 0 && logLevel <= (int)LOG_MAX_PRIORITY, "Incorrect log level"); |
no test coverage detected