| 29 | : log_level_(log_level) {} |
| 30 | |
| 31 | void AWSLogSystem::Log(Aws::Utils::Logging::LogLevel log_level, const char* tag, |
| 32 | const char* format, ...) { |
| 33 | std::va_list args; |
| 34 | va_start(args, format); |
| 35 | |
| 36 | const string s = strings::Printf(format, args); |
| 37 | |
| 38 | va_end(args); |
| 39 | |
| 40 | LogMessage(log_level, s); |
| 41 | } |
| 42 | |
| 43 | void AWSLogSystem::LogStream(Aws::Utils::Logging::LogLevel log_level, |
| 44 | const char* tag, |