AAO DRAMA C++ Interface (Old style)
DRAMA C++, Depreciated, don't use for new code

◆ GitLogger()

GitLogger::GitLogger ( const char *  system,
StatusType *  status,
const char *  dir = 0,
bool  compress = false 
)

Construct a GitLogger object.

Creates a new log file and inserts GitLogger as the DRAMA logging system in the current DRAMA tasks. Note that DitsAppInit() must have already been invoked. See the class comments for full details.

Parameters
systemLogging system name - used to access environment variables
statusModified status
dirDirectory into which to put the log file. If not supplied, use each $DRAMA_LOGDIR or default directory.
compressIf set true, then the log file is compressed automatically whilst it is being written. Defaults to false. This mode can be overwritten by setting the GIT_LOGGER_COMPRESS or GIT_LOGGER_NOCOMPRESS environment variables. The compressed file has .gz appended to the filename after .log.