20 KiB
20 KiB
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
</head>
The documentation for this class was generated from the following files:
Generated by 1.10.0 </html>
LogDoctor 4.00
Parse Apache2/Nginx/IIS logs and view dinamically generated statistics
|
Loading...
Searching...
No Matches
FormatOps Class Referencefinal
#include <formats.h>
Public Member Functions | |
LogsFormat | processApacheFormatString (const std::string &format_string) const |
Processes the given string to extrapolate the format for Apache2. | |
LogsFormat | processNginxFormatString (const std::string &format_string) const |
Processes the given string to extrapolate the format for Nginx. | |
LogsFormat | processIisFormatString (const std::string &format_string, const IISLogsModule log_module) const |
Processes the given string to extrapolate the format for the IIS. | |
QString | getApacheLogSample (const LogsFormat &log_format) const noexcept |
Returns a log line sample based on the given format. | |
QString | getNginxLogSample (const LogsFormat &log_format) const noexcept |
Returns a log line sample based on the given format. | |
QString | getIisLogSample (const LogsFormat &log_format) const noexcept |
Returns a log line sample based on the given format. | |
Detailed Description
Operations for the logs formats
Member Function Documentation
◆ getApacheLogSample()
|
noexcept |
Returns a log line sample based on the given format.
- Parameters
-
log_format The logs format to use to build the sample
- Returns
- The sample line
- See also
- LogsFormat, Craplog::getLogsFormatSample()
◆ getIisLogSample()
|
noexcept |
Returns a log line sample based on the given format.
- Parameters
-
log_format The logs format to use to build the sample
- Returns
- The sample line
- See also
- LogsFormat, Craplog::getLogsFormatSample()
◆ getNginxLogSample()
|
noexcept |
Returns a log line sample based on the given format.
- Parameters
-
log_format The logs format to use to build the sample
- Returns
- The sample line
- See also
- LogsFormat, Craplog::getLogsFormatSample()
◆ processApacheFormatString()
LogsFormat FormatOps::processApacheFormatString | ( | const std::string & | format_string | ) | const |
Processes the given string to extrapolate the format for Apache2.
- Parameters
-
format_string The format string to process
- Returns
- The logs format
- Exceptions
-
LogFormatException
- See also
- LogsFormat
◆ processIisFormatString()
LogsFormat FormatOps::processIisFormatString | ( | const std::string & | format_string, |
const IISLogsModule | log_module ) const |
Processes the given string to extrapolate the format for the IIS.
- Parameters
-
format_string The format string to process log_module The ID of the log module to use
- Returns
- The logs format
- Exceptions
-
LogFormatException
- See also
- LogsFormat
◆ processNginxFormatString()
LogsFormat FormatOps::processNginxFormatString | ( | const std::string & | format_string | ) | const |
Processes the given string to extrapolate the format for Nginx.
- Parameters
-
format_string The format string to process
- Returns
- The logs format
- Exceptions
-
LogFormatException
- See also
- LogsFormat
The documentation for this class was generated from the following files:
- logdoctor/modules/craplog/modules/formats.h
- logdoctor/modules/craplog/modules/formats.cpp
Generated by 1.10.0 </html>