Carna  Version 3.0.1
Classes | Namespaces | Macros
Log.h File Reference

Defines Carna::base::Log. More...

#include <Carna/Carna.h>
#include <Carna/base/Singleton.h>
#include <Carna/base/noncopyable.h>
#include <functional>
#include <string>
#include <memory>
+ Include dependency graph for Log.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Carna::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  Carna::base::Log::TagScope
 Enforces the log to use a specific tag for the duration of the existence of the object from this class. The CARNA_LOG_TAG_SCOPE macro is provided for convenience. More...
 
class  Carna::base::Log::Writer
 Writes log entries. More...
 
class  Carna::base::Log::TextWriter
 Abstract implementation of the Writer interface, that formats log messages along with their severity as pure ASCII character chains. More...
 
class  Carna::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  Carna::base::Log::OnShutdownListener
 Defines callback interface that is invoked when the Log system is about to shut down. More...
 

Namespaces

 Carna::base
 Contains the core framework components.
 

Macros

#define CARNA_LOG_TAG_SCOPE(tag)   const ::Carna::base::Log::TagScope _tagScope##__COUNTER__( tag )
 Enforces the Carna::base::Log to use particular tag within the local scope.
 

Detailed Description

Defines Carna::base::Log.

Definition in file Log.h.