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 星期五, 15 九月 2023 21:24:44 UTC - 89b7d17faa77e847b7de814f7dcea89eeca38653
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