ocpp 0.24.1
A C++ implementation of the Open Charge Point Protocol
Public Member Functions | Public Attributes | List of all members
ocpp::LogRotationConfig Struct Reference

Configuration for log rotation. More...

#include <ocpp_logging.hpp>

Public Member Functions

 LogRotationConfig (bool date_suffix, uint64_t maximum_file_size_bytes, uint64_t maximum_file_count)
 

Public Attributes

bool date_suffix
 
uint64_t maximum_file_size_bytes
 The maximum size of the log file in bytes after which the file will be rotated.
 
uint64_t maximum_file_count
 The maximum number of log files to keep in rotation.
 

Detailed Description

Configuration for log rotation.

Member Data Documentation

◆ date_suffix

bool ocpp::LogRotationConfig::date_suffix

If set to true the log rotation files use a date after the ".", if not use the traditional .0, .1 ... style


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