FormatOps.
More...
#include <formats.h>
|
const std::unordered_map< std::string, std::string > | APACHE_ALF |
| < Access logs fields formats
|
|
const std::unordered_map< std::string, std::string > | NGINX_ALF |
| < Access logs fields formats
|
|
const std::unordered_map< std::string, std::string > | IIS_ALF |
| < Access logs fields formats (W3C)
|
|
FormatOps.
Operations for the logs formats
◆ getApacheLogSample()
const QString FormatOps::getApacheLogSample |
( |
const LogsFormat & |
log_format | ) |
const |
◆ getIisLogSample()
const QString FormatOps::getIisLogSample |
( |
const LogsFormat & |
log_format | ) |
const |
◆ getNginxLogSample()
const QString FormatOps::getNginxLogSample |
( |
const LogsFormat & |
log_format | ) |
const |
◆ processApacheFormatString()
const 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
-
- See also
- LogsFormat
◆ processIisFormatString()
const LogsFormat FormatOps::processIisFormatString |
( |
const std::string & |
format_string, |
|
|
const int & |
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
-
- See also
- LogsFormat
◆ processNginxFormatString()
const 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
-
- See also
- LogsFormat
◆ APACHE_ALF
const std::unordered_map<std::string, std::string> FormatOps::APACHE_ALF |
|
private |
< Access logs fields formats
Composed access logs fields formats
The documentation for this class was generated from the following files:
- logdoctor/modules/craplog/modules/formats.h
- logdoctor/modules/craplog/modules/formats.cpp