Constructors
Synopses
Declared in <ball_fileobserver.h>
Create a file observer that logs to stdout by default.
FileObserver();
Create a file observer using the specified basicAllocator.
explicit
FileObserver(bslma::Allocator* basicAllocator);
Create a file observer with the specified stdoutThreshold.
explicit
FileObserver(
Severity::Level stdoutThreshold,
bslma::Allocator* basicAllocator = 0);
Create a file observer with local‐time and threshold options.
FileObserver(
Severity::Level stdoutThreshold,
bool publishInLocalTime,
bslma::Allocator* basicAllocator = 0);
Parameters
Name |
Description |
basicAllocator |
memory allocator; null uses the default |
stdoutThreshold |
minimum severity for records logged to |
publishInLocalTime |
whether timestamps are written in local time |
Created with MrDocs