Seg3D  2.4
Seg3D is a free volume segmentation and processing tool developed by the NIH Center for Integrative Biomedical Computing at the University of Utah Scientific Computing and Imaging (SCI) Institute.
Public Member Functions | List of all members
Core::RolloverLogFile Class Reference

#include <RolloverLogFile.h>

Public Member Functions

 RolloverLogFile (unsigned int log_flags)
 Create log file, hook up to post_log_signal.
 
void set_max_files (int num_files)
 Set the maximum number of rollover log files.
 
void set_max_lines (int num_lines)
 Set the maximum number of lines per event log file.
 
void set_max_age (int num_days)
 Set the maximum age of a log file. Log files older than this will be deleted.
 

Detailed Description

Class for writing log messages to a log file that gets rolled over based on file size, number of files, and age. Creates log file in config directory. Log file name includes application name, version, and timestamp. Logs messages in response to Log::Instance()->post_log_signal_.


The documentation for this class was generated from the following files: