FormatOps.
More...
#include <formats.h>
|
const simple_fields_umap_t | APACHE_ALF |
| Access logs fields formats.
|
|
const composed_fields_umap_t | APACHE_ALF_V |
| Composed access logs fields formats.
|
|
const simple_fields_umap_t | NGINX_ALF |
| Access logs fields formats.
|
|
const simple_fields_umap_t | IIS_ALF |
| Access logs fields formats (W3C)
|
|
FormatOps.
Operations for the logs formats
◆ getApacheLogSample()
QString FormatOps::getApacheLogSample |
( |
const LogsFormat & | log_format | ) |
const |
|
noexcept |
◆ getIisLogSample()
QString FormatOps::getIisLogSample |
( |
const LogsFormat & | log_format | ) |
const |
|
noexcept |
◆ getNginxLogSample()
QString FormatOps::getNginxLogSample |
( |
const LogsFormat & | log_format | ) |
const |
|
noexcept |
◆ 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
-
- 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
-
- 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
-
- 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