Module cwe_checker_lib::utils::log
source · Expand description
Structs and functions for generating log messages and CWE warnings.
Structs
- A CWE warning message.
- A generic log message.
- A type for managing threads for collecting log messages.
Enums
- The severity/type of a log message.
- The message types a logging thread can receive. See the
LogThread
type for more information.
Functions
- For each analysis count the number of debug log messages in
all_logs
and add a (INFO level) log message with the resulting number toall_logs
. Also count and log the number of general debug log messages. - Print all provided log- and CWE-messages.