libsir 2.2.5
Standard Incident Reporter
|
Defines the partially abstract interface for a policy which controls the behavior of logger at runtime. More...
Public Member Functions | |
virtual bool | get_init_data (sirinit &data) const noexcept=0 |
Called by logger before initializing libsir. | |
virtual bool | on_init_complete () const noexcept=0 |
Called by logger immediately after libsir has been initialized. | |
Static Public Member Functions | |
static constexpr bool | throw_on_error () noexcept |
Determines whether or not exceptions are thrown in the event that an unercoverable error is encountered by logger or its associated adapter(s). | |
Defines the partially abstract interface for a policy which controls the behavior of logger at runtime.
|
pure virtualnoexcept |
Called by logger before initializing libsir.
Provides the policy with an opportunity to customize the initial configuration.
data | Reference to a sirinit struct representing the initial configuration. |
Implemented in sir::default_policy.
|
pure virtualnoexcept |
Called by logger immediately after libsir has been initialized.
This is the moment in time which should be utilized for further configuration than is possible via sir_init alone.
Some potential actions include:
Implemented in sir::default_policy.
|
inlinestaticconstexprnoexcept |
Determines whether or not exceptions are thrown in the event that an unercoverable error is encountered by logger or its associated adapter(s).