logging.hpp file

Public Logging API for clients.

Provides a thread-safe, type-safe and portable logging interface in form of the logging macros along with a global Logging instance.

The code in this file is based on ideas by Petru Marginean published in: Marginean, P: "Logging in C++", http://www.ddj.com/cpp/201804215 and Marginean, P: "Logging in C++: Part 2", http://www.ddj.com/cpp/221900468

Namespaces

namespace arcstk
APIs of libarcstk.
namespace arcstk::v_1_0_0 inline
libarcstk API version 1.0.0

Classes

class arcstk::v_1_0_0::Appender
A named logging output channel.
class arcstk::v_1_0_0::Log
A single logging operation of a Logger using a specified LOGLEVEL.
class arcstk::v_1_0_0::Logger
Logs a message to its registered Appenders.
class arcstk::v_1_0_0::Logging
A singleton interface used by all Log instances.