Create a file observer with file logging initially disabled.
Declared in <ball_fileobserver2.h>
explicit
FileObserver2(bslma::Allocator* basicAllocator = 0);
Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. Note that isPublishInLocalTimeEnabled returns false following construction indicating that the timestamp attribute of published records will be written in UTC time (see enablePublishInLocalTime). Also note that a default record format is in effect for file logging (see setLogFileFunctor).
| Name | Description |
|---|---|
| basicAllocator | memory allocator; null uses the default |