lean cpp library
A lean C++ library providing efficient utility classes for high-performance C++ applications.
Public Member Functions | Friends
lean::logging::log Class Reference

Log class. More...

#include <log.h>

Inherits noncopyable.

List of all members.

Public Member Functions

LEAN_MAYBE_EXPORT log (log_target *initialTarget=nullptr)
 Constructor.
LEAN_MAYBE_EXPORT ~log ()
 Destructor.
LEAN_MAYBE_EXPORT void add_target (log_target *target)
 Adds the given target to this log. This method is thread-safe.
LEAN_MAYBE_EXPORT void remove_target (log_target *target)
 Removes the given target from this log. This method is thread-safe.
LEAN_MAYBE_EXPORT void print (const char_ntri &message)
 Prints the given message. This method is thread-safe.

Friends

class log_stream_out

Detailed Description

Log class.


The documentation for this class was generated from the following files: