|
SA_Logger
Sapphire's Suite's C++ Logger.
|
Log type implementation. More...
#include <Log.hpp>
Public Member Functions | |
| Log ()=default | |
| Default constructor. | |
| Log (std::wstring _file, uint32_t _line, std::string _function, std::wstring _msg=L"Hello, World!", LogLevel _level=LogLevel::Normal, std::wstring _chanName=L"Default", std::wstring _details=L"", uint32_t _frameNum=0u, std::string _backtrace="") noexcept | |
| Value Move Constructor. | |
Public Attributes | |
| std::wstring | file |
| File name. | |
| uint32_t | line = 0u |
| Line number. | |
| std::string | function |
| Function name. | |
| std::wstring | msg = L"Hello, World!" |
| User string message. | |
| LogLevel | level = LogLevel::Normal |
| Output level. | |
| std::wstring | chanName = L"Default" |
| Output channel name. | |
| std::wstring | details |
| Additional details string. | |
| uint32_t | frameNum = 0u |
| Frame number. | |
| std::string | backtrace |
| backtracing of logging call. | |
| DateTime | date |
| Date time. | |
Log type implementation.
|
noexcept |
Value Move Constructor.
| [in] | _file | File of the Log. |
| [in] | _line | Line of the Log. |
| [in] | _function | Function of the Log. |
| [in] | _msg | Message of the Log. |
| [in] | _level | Level of the Log. |
| [in] | _chanName | Channel's name of the Log. |
| [in] | _details | Additional details to display. |
| [in] | _frameNum | Frame number of the Log. |
| [in] | _backtrace | backtracing of logging call. |