log
¶
| log.error() | Logs a message at the ERROR level |
| log.warning() | Logs a message at the WARN level |
| log.debug() | Logs a message at the INFO level with DEBUG category |
| log.info() | Logs a message at the INFO level |
Logs a message at the ERROR level.
Use the error log level to log critical malfunction messages. Because the purpose of error messages is to provide as much information as possible needed to investigate the reported issue, it is recommended to make error messages very detailed.
| msg | (string) | The message to log. |
Logs a message at the WARN level.
Use the warning log level to log facts that require attention, but do not necessarily mean malfunction. For example, use a warning message to notify the user about something recoverable, such as a missing parameter that has the default value, or something that can lead to performance degradation, but not failure
| msg | (string) | The message to log. |
Logs a message at the INFO level with DEBUG category.
Use the info log level to log information messages that give a brief overview of what is happening in the system, log states passed, static information about configuration, and so on.
Use the debug log category for debug messages only.
| msg | (string) | The message to log. |
Logs a message at the INFO level.
Use the info log level to log information messages that give a brief overview of what is happening in the system, log states passed, static information about configuration, and so on.
| msg | (string) | The message to log. |