diff options
Diffstat (limited to 'src/Log.hxx')
-rw-r--r-- | src/Log.hxx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/Log.hxx b/src/Log.hxx index 38bc4a829..920a8d8a3 100644 --- a/src/Log.hxx +++ b/src/Log.hxx @@ -45,6 +45,11 @@ enum class LogLevel { INFO, /** + * Interesting informational message. + */ + DEFAULT, + + /** * Warning: something may be wrong. */ WARNING, @@ -84,6 +89,16 @@ void FormatInfo(const Domain &domain, const char *fmt, ...); static inline void +LogDefault(const Domain &domain, const char *msg) +{ + Log(domain, LogLevel::DEFAULT, msg); +} + +gcc_printf(2,3) +void +FormatDefault(const Domain &domain, const char *fmt, ...); + +static inline void LogWarning(const Domain &domain, const char *msg) { Log(domain, LogLevel::WARNING, msg); |