class
#include <eckit/log/Log.h>
Log Singleton holding global streams for logging
Derived classes
- class atlas::Log
Public types
- enum (anonymous) { compactFormat = 0, normalFormat = 1, fullFormat = 2, monitorFormat = 3, applicationFormat = 4 }
- Output formats.
Public static functions
- static auto debug() -> Channel&
- Channel for debug output.
- static auto info() -> Channel&
- Channel for informative messages.
- static auto warning() -> Channel&
- Channel for warning messages.
- static auto error() -> Channel&
- Channel for error messages.
- static auto metrics() -> Channel&
- Channel for metrics messages.
-
static auto panic() -> std::
ostream& - Channel for panic messages.
-
static auto status() -> std::
ostream& - Channel accessible through category index.
-
static auto message() -> std::
ostream& - Channel for status messages to Application Monitor.
- static auto user() -> UserChannel&
- Get the channel for the user.
-
static auto userInfo() -> std::
ostream& - Channel for informative messages tp remote user.
-
static auto userWarning() -> std::
ostream& - Channel for warning messages to remote user.
-
static auto userError() -> std::
ostream& - Channel for error messages to remote user.
-
static void notifyClient(const std::
string&) - Send messages to remote user directly – not using a channel.
-
static auto syserr(std::
ostream&) -> std:: ostream& - manipulator that will print the last error message as in perror(2)
- static auto null() -> Channel&
-
template<typename T>static auto debug(const T* = 0) -> Channel&
-
static void setStream(std::
ostream& out) -
static void addStream(std::
ostream& out) -
static void setFile(const std::
string& path) -
static void addFile(const std::
string& path) - static void setCallback(channel_callback_t cb, void* data = nullptr)
- static void addCallback(channel_callback_t cb, void* data = nullptr)
- static void flush()
- static void reset()
-
static void print(std::
ostream& os)
Function documentation
static std:: ostream& eckit:: Log:: status()
Channel accessible through category index.
Channel for status messages to Application Monitor