class methods
Extends
This class extends others, you can call their methods on an instance of ofFileLoggerChannel too:
Documentation from code comments
A logger channel that logs its messages to a log file.
ofFileLoggerChannel()
ofFileLoggerChannel::ofFileLoggerChannel()
Documentation from code comments
Create an ofFileLoggerChannel.
ofFileLoggerChannel(...)
ofFileLoggerChannel::ofFileLoggerChannel(const filesystem::path &path, bool append)
Documentation from code comments
Create an ofFileLoggerChannel with parameters.
Parameters:
path The file path for the log file.
append True if the log data should be added to an existing file.
~ofFileLoggerChannel()
ofFileLoggerChannel::~ofFileLoggerChannel()
Documentation from code comments
Destroy the file logger channel.
log(...)
void ofFileLoggerChannel::log(ofLogLevel level, const string &module, const char *format, va_list args)
log(...)
void ofFileLoggerChannel::log(ofLogLevel level, const string &module, const string &message)
setFile(...)
void ofFileLoggerChannel::setFile(const filesystem::path &path, bool append=false)
Documentation from code comments
Set the log file.
Parameters:
path The file path for the log file.
append True if the log data should be added to an existing file.
Last updated 星期三, 08 三月 2023 18:10:56 UTC - 7c9ee203c70f155d301b41aa9b34dcc286921a3c
If you have any doubt about the usage of this module you can ask in the forum.
If you want to contribute better documentation or start documenting this section you can do so here
If you find anything wrong with this docs you can report any error by opening an issue