Kanzi  3.9.9
Kanzi Engine C++ API
kanzi::Win32DebugLogger Class Reference

This logger class writes log messages to the Windows debugger console. More...

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

Inheritance diagram for kanzi::Win32DebugLogger:
[legend]

Protected Member Functions

void writeOverride (LogLevel level, string_view levelName, string_view categoryName, string_view fileName, size_t lineNumber, string_view message) 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)
 Kanzi calls this function to store the message to the log. More...
 
virtual ~AbstractLogger ()
 Destructor. More...
 

Detailed Description

This logger class writes log messages to the Windows debugger console.

Member Function Documentation

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

See kanzi::AbstractLogger::writeOverride.

Writes the levelName and the categoryName followed by the message to the log. For error messages writes also the fileName and lineNumber.

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

Implements kanzi::AbstractLogger.


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