Diarkis C++Client Library API Document
DebugLoggerBackend Class Reference

Class to output logs to debugger. More...

#include <DebugLoggerBackend.h>

Inheritance diagram for DebugLoggerBackend:
Collaboration diagram for DebugLoggerBackend:

Public Member Functions

 DebugLoggerBackend (bool bOutput)
 
virtual ~DebugLoggerBackend ()
 
virtual Result Log (const Diarkis::StdString &message, bool includeNewLine=true) override
 Outputs a log of specified messages. More...
 
virtual Result Log (const Diarkis::StdString &message, bool includeNewLine) override
 
- Public Member Functions inherited from StreamLoggerBackend
 StreamLoggerBackend (std::ostream &targetLog_)
 
 StreamLoggerBackend (StreamLoggerBackend &)=delete
 
 StreamLoggerBackend (StreamLoggerBackend &&)=delete
 
std::ostream & GetTargetLog () const
 

Detailed Description

Class to output logs to debugger.

Constructor & Destructor Documentation

◆ DebugLoggerBackend()

DebugLoggerBackend::DebugLoggerBackend ( bool  bOutput)

◆ ~DebugLoggerBackend()

DebugLoggerBackend::~DebugLoggerBackend ( )
virtual

Member Function Documentation

◆ Log() [1/2]

Result DebugLoggerBackend::Log ( const Diarkis::StdString message,
bool  includeNewLine = true 
)
overridevirtual

Outputs a log of specified messages.

Parameters
[in]messageMessage to log output
[in]includeNewLineWhether to add a new line or not true=include

Reimplemented from StreamLoggerBackend.

Here is the call graph for this function:

◆ Log() [2/2]

Result StreamLoggerBackend::Log
override

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