![]() |
LibCarna Version 3.4.0
|
Defines LibCarna::base::Log. More...
#include <LibCarna/LibCarna.hpp>
#include <LibCarna/base/Singleton.hpp>
#include <LibCarna/base/noncopyable.hpp>
#include <functional>
#include <string>
#include <memory>
Go to the source code of this file.
Classes | |
class | LibCarna::base::Log |
Records log messages. The log writing is delegated to implementations of the Log::Writer interface. The default writer is an instance from Log::StdWriter class. More... | |
struct | LibCarna::base::Log::TagScope |
Enforces the log to use a specific tag for the duration of the existence of the object from this class. The LIBCARNA_LOG_TAG_SCOPE macro is provided for convenience. More... | |
class | LibCarna::base::Log::Writer |
Writes log entries. More... | |
class | LibCarna::base::Log::TextWriter |
Abstract implementation of the Writer interface, that formats log messages along with their severity as pure ASCII character chains. More... | |
class | LibCarna::base::Log::StdWriter |
Writes fatal and error classified log messages to std::cerr and such classified as warning or debug to std::cout . More... | |
class | LibCarna::base::Log::OnShutdownListener |
Defines callback interface that is invoked when the Log system is about to shut down. More... | |
Namespaces | |
namespace | LibCarna::base |
Contains the core framework components. | |
Macros | |
#define | LIBCARNA_LOG_TAG_SCOPE(tag) const ::LibCarna::base::Log::TagScope _tagScope##__COUNTER__( tag ) |
Enforces the LibCarna::base::Log to use particular tag within the local scope. | |
Defines LibCarna::base::Log.
Definition in file Log.hpp.
#define LIBCARNA_LOG_TAG_SCOPE | ( | tag | ) | const ::LibCarna::base::Log::TagScope _tagScope##__COUNTER__( tag ) |
Enforces the LibCarna::base::Log to use particular tag within the local scope.
Written by Leonid Kostrykin © 2021–2025. Based on Carna (© 2010-2016).
Documentation generated by Doxygen