#include <chatlogger.h>
|
void | setLogFile (const std::string &logFilename) |
| Sets the file to log to and opens it.
|
|
Definition at line 26 of file chatlogger.h.
◆ ChatLogger()
ChatLogger::ChatLogger |
( |
| ) |
|
|
default |
◆ ~ChatLogger()
ChatLogger::~ChatLogger |
( |
| ) |
|
|
default |
◆ log() [1/2]
void ChatLogger::log |
( |
std::string |
name, |
|
|
std::string |
str |
|
) |
| |
◆ log() [2/2]
void ChatLogger::log |
( |
std::string |
str | ) |
|
Enters a message in the log.
The message will be timestamped.
Definition at line 116 of file chatlogger.cpp.
◆ setLogDir()
void ChatLogger::setLogDir |
( |
const std::string & |
logDir | ) |
|
◆ setLogFile()
void ChatLogger::setLogFile |
( |
const std::string & |
logFilename | ) |
|
|
private |
Sets the file to log to and opens it.
Definition at line 88 of file chatlogger.cpp.
◆ setServerName()
void ChatLogger::setServerName |
( |
const std::string & |
serverName | ) |
|
◆ mLogDate
std::string ChatLogger::mLogDate |
|
private |
◆ mLogDir
std::string ChatLogger::mLogDir |
|
private |
◆ mLogFile
std::ofstream ChatLogger::mLogFile |
|
private |
◆ mServerName
std::string ChatLogger::mServerName |
|
private |
The documentation for this class was generated from the following files: