ofDocsdocumentation utils ofFileLoggerChannel

ofFileLoggerChannel


close( )

void close()

CLose the log file.


log( ... )

void log(ofLogLevel level, const string &module, const string &message)

log( ... )

void log(ofLogLevel level, const string &module, const char *format, va_list args)

ofFileLoggerChannel( ... )

ofFileLoggerChannel(const filesystem::path &path, bool append)

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()

Create an ofFileLoggerChannel.


setFile( ... )

void setFile(const filesystem::path &path, bool append=false)

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.


~ofFileLoggerChannel( )

~ofFileLoggerChannel()

Destroy the file logger channel.


Variables

ofFile file< The location of the log file.