29#include "LogPriority.h"
30#include <sptk5/DateTime.h>
31#include <sptk5/sptk.h>
71 using UMessage = std::shared_ptr<Message>;
139using SLogger = std::shared_ptr<Logger>;
Definition: DateTime.h:86
Definition: LogEngine.h:60
A log that sends all the log messages into another log.
Definition: Logger.h:53
LogEngine & destination()
Returns log engine (destination logger)
Definition: Logger.h:83
void warning(const String &message)
void critical(const String &message)
void log(LogPriority priority, const String &message)
void error(const String &message)
Logger(LogEngine &destination, String prefix="")
Constructor.
void info(const String &message)
void debug(const String &message)
void notice(const String &message)
LogPriority
Log message priority.
Definition: LogPriority.h:68
String message
Message text.
Definition: Logger.h:61
Message(LogPriority priority, String message)
LogPriority priority
Message priority.
Definition: Logger.h:60