38 , fileSizeLimit_(2145386496)
71 return fileSizeLimit_;
77 fileSizeLimit_ =
value;
111 std::string filename_;
170 std::string rollover();
176 Workhorse* workhorse_;
Collection of events raised by FileLogger during its life time.
virtual void onFileLoggerIssue(const FileLogger &, const Char *)
Invoked by FileLogger in case of issue.
#define ONIXS_CMEMDH_OVERRIDE
#define ONIXS_CMEMDH_NULLPTR
Base parameters affecting synchronous logging services.
Defines severity levels for log entries.
FileLoggerSettings()
Initializes parameters with default values.
#define ONIXS_CMEMDH_EXPORTED_CLASS_DECL(typeName)
#define ONIXS_CMEMDH_LTWT
Abstraction of log entry in logging services.
char Char
Character type alias.
const std::string & filename() const
Log file name.
WatchService & watch() const
Watch service used by logger while assigning timestamps to log entries.
bool value(Number &number, const MultiContainer &container, Tag tag)
Finds a tag-value entry in the given collection by the given tag and returns its value component tran...
#define ONIXS_CMEMDH_NAMESPACE_BEGIN
std::string makeLogFilename(UInt32)
Makes filename for log file for the given channel.
LogSeverity::Enum severityLevel() const
Specifies whether the logger should output events and which of events should be put into the log...
#define ONIXS_CMEMDH_EXPORTED
#define ONIXS_CMEMDH_LTWT_CLASS_DECL(name)
void severityLevel(LogSeverity::Enum value)
Specifies whether logger should output its events and which of events should be put into the log...
~FileLoggerSettings()
Cleans everything up.
void watch(WatchService &watch)
Watch service used by logger while assigning timestamps to log entries.
void filename(const std::string &value)
Updates log file name.
void fileSizeLimit(UInt64 value)
Sets logFileSizeLimit.
UInt64 fileSizeLimit() const
Log file size limit (in bytes).
Implements logging services to put logged data into a regular file.
#define ONIXS_CMEMDH_NAMESPACE_END