Engage Engine API  1.244.9084
Loading...
Searching...
No Matches
AppConfigurationObjects::EnginePolicyLogging Class Reference

Engine logging settings. More...

#include <ConfigurationObjects.h>

Inherits AppConfigurationObjects::ConfigurationObjectBase.

Public Member Functions

void clear ()
 
- Public Member Functions inherited from AppConfigurationObjects::ConfigurationObjectBase
virtual void initForDocumenting ()
 
virtual std::string toString ()
 
virtual bool isDocumenting () const
 

Public Attributes

int maxLevel
 [Optional, Default: 4, Range: 0-4] This is the maximum logging level to display in other words, any logging with levels equal or lower than this level will be logged.
 
bool enableSyslog
 
- Public Attributes inherited from AppConfigurationObjects::ConfigurationObjectBase
nlohmann::json _attached
 

Additional Inherited Members

- Protected Attributes inherited from AppConfigurationObjects::ConfigurationObjectBase
bool _documenting
 

Detailed Description

Engine logging settings.

Helper C++ class to serialize and de-serialize EnginePolicyLogging JSON

Example:

{
"enableSyslog": false,
"maxLevel": 4
}
See also
ConfigurationObjects::EnginePolicy

Definition at line 5911 of file ConfigurationObjects.h.

Constructor & Destructor Documentation

◆ EnginePolicyLogging()

AppConfigurationObjects::EnginePolicyLogging::EnginePolicyLogging ( )
inline

Definition at line 5938 of file ConfigurationObjects.h.

Member Function Documentation

◆ clear()

void AppConfigurationObjects::EnginePolicyLogging::clear ( )
inline

Definition at line 5943 of file ConfigurationObjects.h.

Member Data Documentation

◆ enableSyslog

bool AppConfigurationObjects::EnginePolicyLogging::enableSyslog

[Optional, Default: false] When enabled, the Engage Engine will output logging to Sys log as well.

Definition at line 5936 of file ConfigurationObjects.h.

◆ maxLevel

int AppConfigurationObjects::EnginePolicyLogging::maxLevel

[Optional, Default: 4, Range: 0-4] This is the maximum logging level to display in other words, any logging with levels equal or lower than this level will be logged.

See also
Logging levels

Logging levels

Value Severity Description
0 Fatal A fatal, non-recoverable, error has occurred
1 Error An error has occurred but the system has recovered
2 Warning A warning condition exists
3 Informational The message is informational in nature
4 Debug The message is useful for debugging and troubleshooting

Definition at line 5933 of file ConfigurationObjects.h.


The documentation for this class was generated from the following file: