Workspace 6.21.5
Public Member Functions | List of all members
TextLogger Class Reference

Convenience base class for anything associated with an operation that needs to write text to the log manager.

#include <Workspace/Application/textlogger.h>

Inheritance diagram for TextLogger:
[legend]

Public Member Functions

 TextLogger ()
 
 TextLogger (const DataExecution::IOBase &io)
 
 TextLogger (const DataExecution::Operation &operation)
 
 TextLogger (const TextLogger &logger)
 
 TextLogger (TextLogger &&logger)
 
virtual ~TextLogger ()
 
void logLine (const Application::LogManager::MessageCategory &category, const QString &msg) const
 
void logLine (const QString &msg) const
 
void logText (const Application::LogManager::MessageCategory &category, const QString &msg) const
 
void logText (const QString &msg) const
 
TextLoggeroperator= (TextLogger)
 

Constructor & Destructor Documentation

◆ TextLogger() [1/5]

◆ TextLogger() [2/5]

TextLogger ( const TextLogger logger)

◆ TextLogger() [3/5]

TextLogger ( TextLogger &&  logger)

◆ TextLogger() [4/5]

TextLogger ( const DataExecution::Operation operation)
explicit

◆ TextLogger() [5/5]

TextLogger ( const DataExecution::IOBase io)
explicit

◆ ~TextLogger()

~TextLogger ( )
virtualdefault

Member Function Documentation

◆ logLine() [1/2]

void logLine ( const Application::LogManager::MessageCategory category,
const QString &  msg 
) const
Parameters
categoryThe category to assign to the input text.
msgThe message to write.

Writes text to the log manager using the specified category, appending a newline to the text message.

◆ logLine() [2/2]

void logLine ( const QString &  msg) const
Parameters
msgThe message to write.

Writes text to the log manager, appending a newline to the text message.

◆ logText() [1/2]

void logText ( const Application::LogManager::MessageCategory category,
const QString &  msg 
) const
Parameters
categoryThe category to assign to the input text.
msgThe message to write.

Writes text to the log manager using the specified category.

◆ logText() [2/2]

void logText ( const QString &  msg) const
Parameters
msgThe text to log.

◆ operator=()

TextLogger & operator= ( TextLogger  rhs)