LiteFX::Logging::Log¶
A log to which messages are written to.
Synopsis¶
Declared in <litefx/logging.hpp>
class [[dllexport, dllimport]] Log;
Description¶
Note that in release builds, message at LogLevel::Trace and LogLevel::Debug are not forwarded and the corresponding functions are disabled. If you really want to log such messages, you have to specify the log level explicitly by calling Log::log.
Member Functions¶
| Name | Description |
|---|---|
Log [constructor] | Creates a new log instance. |
~Log [destructor] [virtual] | Destructor |
operator= | Assignment operators |
debug | Logs a debug message with format. |
error | Logs an error message with format. |
fatal | Logs a fatal error message with format. |
getName [virtual] | Gets the name of the logger. |
info | Logs an info message with format. |
log | Logs a message of level with format. |
trace | Logs a trace message with format. |
warning | Logs a warning message with format. |
Protected Member Functions¶
| Name |
|---|
log [virtual] |
Friends¶
| Name | Description |
|---|---|
LiteFX::Logging::Log::LogImpl | |
LiteFX::PimplPtr | A smart pointer that manages an implementation instance for a public interface class. |