Microsoft Information Protection SDK - C++ 1.17
API Reference Documentation for C++
|
Configuration to use when default logging is enabled. This is set only once per process and any later change will be ignored. More...
#include <diagnostic_configuration.h>
Public Attributes | |
int | maxLogFileSizeMb = 20 |
int | maxLogFileCount = 2 |
bool | isPiiAllowed = true |
Configuration to use when default logging is enabled. This is set only once per process and any later change will be ignored.
bool LoggerConfiguration::isPiiAllowed = true |
Whether to allow PII in the logs (default is true). Set to true to allow Pii in logs. Set to false to mask Pii. OII data will not be masked.
int LoggerConfiguration::maxLogFileCount = 2 |
Maximum number of logfiles to store (default is 2). The valid range for maxLogFileCount is -1 to INT_MAX. Set to 0 to disable logging. Set to -1 to indicate no limit.
int LoggerConfiguration::maxLogFileSizeMb = 20 |
Maximum size for a logfile in MB (default is 20). The valid range for maxLogFileSizeMb is -1 through 1024. Set to 0 to disable logging. Set to -1 to indicate no limit.