|
DialogsLevel | getDialogsLevel () const noexcept |
| Returns the Dialogs level.
|
|
void | setDialogsLevel (const DialogsLevel new_level) noexcept |
| Sets the new Dialogs level.
|
|
const std::string & | getStatsDatabasePath () const noexcept |
| Returns the path of the logs Collection database.
|
|
const std::string & | getHashesDatabasePath () const noexcept |
| Returns the path of the log files' Hashes database.
|
|
void | setStatsDatabasePath (const std::string &path) noexcept |
| Sets the new path for the logs Collection database.
|
|
void | setHashesDatabasePath (const std::string &path) noexcept |
| Sets the new path for the log files' Hashes database.
|
|
void | setCurrentWebServer (const WebServer web_server) noexcept |
| Sets the currently used Web Server ID.
|
|
WebServer | getCurrentWebServer () const noexcept |
| Returns the currently used Web Server ID.
|
|
void | setCurrentLogFormat () noexcept |
| Uses the current Web Server to set the relative logs format.
|
|
const LogsFormat & | getCurrentLogFormat () const noexcept |
| Returns the currently used LogsFormat.
|
|
const std::string & | getLogsPath (const WebServer &web_server) const noexcept |
| Returns the logs' path for the given web Server.
|
|
void | setLogsPath (const WebServer &web_server, const std::string &new_path) noexcept |
| Sets a new path for the given Web Server to search the logs in.
|
|
bool | isFileNameValid (const std::string &name) const |
| Checks if a file name respects the relative criterions.
|
|
const std::vector< LogFile > & | getLogsList () const noexcept |
| Returns the list of log files for the current WebServer.
|
|
size_t | getLogsListSize () const noexcept |
| Returns the amount of log files in the list.
|
|
const LogFile & | getLogFileItem (const QString &file_name) const |
| Returns the LogFile instance of the given file.
|
|
bool | setLogFileSelected (const QString &file_name) noexcept |
| Sets a file in the list as selected.
|
|
void | clearLogFilesSelection () noexcept |
| Sets all files in the list as unselected.
|
|
bool | setApacheLogFormat (const std::string &format_string) noexcept |
| Sets the Apache2 LogsFormat from the given format string.
|
|
bool | setNginxLogFormat (const std::string &format_string) noexcept |
| Sets the Nginx LogsFormat from the given format string.
|
|
bool | setIisLogFormat (const std::string &format_string, const IISLogsModule log_module) noexcept |
| Sets the IIS LogsFormat from the given format string.
|
|
const std::string & | getLogsFormatString (const WebServer &web_server) const noexcept |
| Returns the logs format string for the given Web Server.
|
|
const LogsFormat & | getLogsFormat (const WebServer &web_server) const noexcept |
| Returns the LogsFormat currently set for the given Web Server.
|
|
QString | getLogsFormatSample (const WebServer &web_server) const |
| Returns a sample log line for the given Web Server using the relative LogsFormat.
|
|
bool | checkCurrentLogsFormat () const noexcept |
| Checks whether the current Logs Format is valid or not.
|
|
size_t | getWarningSize () const noexcept |
| Returns the currently set warning size for the log files.
|
|
void | setWarningSize (const size_t new_size) noexcept |
| Sets the new warning size for the log files.
|
|
bool | checkStuff () |
| Various checks to be made before starting a new process.
|
|
bool | isParsing () const noexcept |
| Returns whether the database has been edited or not during the process.
|
|
bool | editedDatabase () const noexcept |
| Returns whether the database has been edited or not during the process.
|
|
size_t | getParsedSize () noexcept |
| Returns the total logs size.
|
|
size_t | getParsedLines () noexcept |
| Returns the parsed logs lines.
|
|
QString | getParsingSpeed () noexcept |
| Returns the speed on parsing logs.
|
|
void | makeChart (const QChart::ChartTheme &theme, const std::unordered_map< std::string, QFont > &fonts, QChartView *size_chart) const |
| Builds and draws the chart to be displayed in the main window.
|
|
Craplog.
Performs operations related to the logs