kanzi::Win32DebugLogger Class Reference

This is a logger class that writes log messages to windows debugger console. More...

#include <kanzi/core/platform/log/win32/win32_debug_logger.hpp>

Inheritance diagram for kanzi::Win32DebugLogger:
kanzi::AbstractLogger

Protected Member Functions

virtual void writeOverride (LogLevel level, string_view levelName, string_view categoryName, string_view fileName, size_t lineNumber, string_view message) KZ_OVERRIDE
 See kanzi::AbstractLogger::writeOverride. More...
 

Additional Inherited Members

- Public Member Functions inherited from kanzi::AbstractLogger
void write (LogLevel level, string_view levelName, string_view categoryName, string_view fileName, size_t lineNumber, string_view message)
 This function is called by Kanzi to store the message to the log. More...
 
virtual ~AbstractLogger ()
 Destructor. More...
 

Detailed Description

This is a logger class that writes log messages to windows debugger console.

Member Function Documentation

virtual void kanzi::Win32DebugLogger::writeOverride ( LogLevel  level,
string_view  levelName,
string_view  categoryName,
string_view  fileName,
size_t  lineNumber,
string_view  message 
)
protectedvirtual

See kanzi::AbstractLogger::writeOverride.

Writes the levelName and the categoryName followed by the message to the log. The fileName and lineNumber are included into the log when the error log message is written.

Parameters
levelThe log level of the message.
levelNameThe string representation of log level.
categoryNameThe string representation of log category.
fileNameThe name of the file log message is originated from.
lineNumberThe line number of the place in file where log message is originated.
messageThe message being written to the log.

Implements kanzi::AbstractLogger.


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