RotatingFileLogWriter.this

Constructs a new rotating log file strategy.

class RotatingFileLogWriter
this
(
string logDir
,
string logFilePrefix = "log"
,
ulong maxLogFileSize = 2_000_000_000
)

Parameters

logDir string

The directory to store log files in. It will be created, recursively, if it doesn't exist.

logFilePrefix string

The prefix for all log files generated.

maxLogFileSize ulong

The maximum size, in bytes, of log files. Defaults to 2GB.