carb::logging::fLogDestinationLogFile

Defined in carb/logging/StandardLogger2.h

constexpr LogDestinations carb::logging::fLogDestinationLogFile = 0x02

Flag to indicate that logging to a file is currently enabled.

This does not mean that all messages will be written to the file, but rather just that the file is currently open and will be used as a destination depending on the message’s level and currently configured logging level. This flag is toggled by functions such as StandardLogger2::setFileOutput() and StandardLogger2::setFileConfiguration(). Note that this can also be affected by functions such as StandardLogger2::pauseFileLogging() and StandardLogger2::resumeFileLogging() since they will close and open the output file.