Microsoft Information Protection SDK - C++ 1.17
API Reference Documentation for C++
Loading...
Searching...
No Matches
LoggerConfiguration Struct Reference

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
 

Detailed Description

Configuration to use when default logging is enabled. This is set only once per process and any later change will be ignored.

Member Data Documentation

◆ isPiiAllowed

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.

◆ maxLogFileCount

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.

◆ maxLogFileSizeMb

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.


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