12#ifndef RESPOND_LOGGING_HPP_
13#define RESPOND_LOGGING_HPP_
20enum class LogType :
int {
29enum class CreationStatus :
int {
38enum class LogPattern :
int {
56CreationStatus CreateFileLogger(
const std::string &logger_name,
57 const std::string &filepath);
70CreationStatus CreateSharedFileSink(
const std::string &filepath);
81CreationStatus CreateSharedLogger(
const std::string &logger_name);
88void SetLogPattern(LogPattern pattern);
92LogPattern GetLogPattern();
98void SetFlushInterval(
int seconds);
103void FlushAllLoggers();
114void LogInfo(
const std::string &logger_name,
const std::string &message);
120void LogWarning(
const std::string &logger_name,
const std::string &message);
126void LogError(
const std::string &logger_name,
const std::string &message);
132void LogDebug(
const std::string &logger_name,
const std::string &message);
142CreationStatus CheckLoggerExists(
const std::string &logger_name);
148std::string GetLoggerInfo(
const std::string &logger_name);
156void SetLoggerLevel(
const std::string &logger_name,
int level);