33 std::string filename_;
44 , fileSizeLimit_(2145386496)
79 return fileSizeLimit_;
85 fileSizeLimit_ = value;
150 Workhorse* workhorse_;
183 std::string rollover();
Implements logging services to put logged data into a regular file.
#define ONIXS_CMESTREAMLINEDMDH_EXPORTED_CLASS_DECL(typeName)
LogSeverity::Enum severityLevel() const
Specifies whether the logger should output events and which of events should be put into the log...
void watch(WatchService &watch)
Watch service used by logger while assigning timestamps to log entries.
#define ONIXS_CMESTREAMLINEDMDH_NAMESPACE_END
#define ONIXS_CMESTREAMLINEDMDH_LTWT_CLASS
#define ONIXS_CMESTREAMLINEDMDH_EXPORTED
char Char
Character type alias.
Abstraction of log entry in logging services.
#define ONIXS_CMESTREAMLINEDMDH_EXPORTED_CLASS
Collection of events raised by FileLogger during its life time.
void severityLevel(LogSeverity::Enum value)
Specifies whether logger should output its events and which of events should be put into the log...
virtual void onFileLoggerIssue(const FileLogger &, const Char *)
Invoked by FileLogger in case of issue.
#define ONIXS_CMESTREAMLINEDMDH_LTWT_CLASS_DECL(name)
UInt64 fileSizeLimit() const
Log file size limit (in bytes).
#define ONIXS_CMESTREAMLINEDMDH_EXPORTED_STRUCT
#define ONIXS_CMESTREAMLINEDMDH_NULLPTR
const std::string & filename() const
Log file name.
~FileLoggerSettings()
Cleans everything up.
void filename(const std::string &value)
Updates log file name.
Base parameters affecting synchronous logging services.
FileLoggerSettings()
Initializes parameters with default values.
Defines severity levels for log entries.
void fileSizeLimit(UInt64 value)
Sets logFileSizeLimit.
std::string makeLogFilename(UInt32)
Makes filename for log file for the given channel.
WatchService & watch() const
Watch service used by logger while assigning timestamps to log entries.
#define ONIXS_CMESTREAMLINEDMDH_NAMESPACE_BEGIN