Function setLogPath

Synopsis

#include <lib/inc/drogon/HttpAppFramework.h>

virtual HttpAppFramework & setLogPath(const std::string &logPath, const std::string &logfileBaseName="", size_t logSize=100000000)=0

Description

Set the output path of logs.

Parameters:

logPath - The path to logs.

logfileBaseName - The base name of log files.

logSize - indicates the maximum size of a log file.

Note
This operation can be performed by an option in the configuration file.

Mentioned in

Source

Line 817 in lib/inc/drogon/HttpAppFramework.h.






Add Discussion as Guest

Log in to DocsForge