LogDoctor/docs/html/namespaceLogOps.html

6.1 KiB

<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US"> <head> </head>
LogDoctor 4.00
Parse Apache2/Nginx/IIS logs and view dinamically generated statistics
Loading...
Searching...
No Matches
LogOps Namespace Reference

LogOps. More...

Functions

LogType defineFileType (const std::vector< std::string > &lines, const LogsFormat &format) noexcept
 Defines the type of a file.
 

Detailed Description

LogOps.

Operations for the logs

Function Documentation

◆ defineFileType()

LogType LogOps::defineFileType ( const std::vector< std::string > & lines,
const LogsFormat & format )
noexcept

Defines the type of a file.

Parameters
linesA list of (randomly picked) lines from the file to examine
formatThe logs format to use to determine if the file is valid or not
Returns
The resulting file type
See also
LogType, deepTypeCheck(), FormatOps::LogsFormat

Generated by doxygen 1.10.0 </html>