log module¶
Class |
Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Logger¶
close_logs¶
is_output_redirected_to_log¶
log¶
- class log[source]¶
Bases:
logwrites messages to the log console for the given log level.LogLevelName
LogLevel
Description
DebugLog
0
Logs debugging information messages to the console.
InfoLog
1
Logs general information messages to the console.
WarningLog
2
Logs message to console with Warning icon.
ErrorLog
3
Logs message to console with Error icon, focusing the error console.
AlertLog
4
Logs message to pop up window.
log_alert¶
log_alert_for_exception¶
log_alert_with_traceback¶
log_debug¶
log_debug_for_exception¶
log_debug_with_traceback¶
log_error¶
log_error_for_exception¶
log_error_with_traceback¶
log_for_exception¶
- class log_for_exception[source]¶
Bases:
log_for_exceptionwrites messages to the log console for the given log level, including a stack trace for the current exception.LogLevelName
LogLevel
Description
DebugLog
0
Logs debugging information messages to the console.
InfoLog
1
Logs general information messages to the console.
WarningLog
2
Logs message to console with Warning icon.
ErrorLog
3
Logs message to console with Error icon, focusing the error console.
AlertLog
4
Logs message to pop up window.
log_info¶
log_info_for_exception¶
log_info_with_traceback¶
log_to_file¶
log_to_stderr¶
log_to_stdout¶
log_warn¶
log_warn_for_exception¶
log_warn_with_traceback¶
log_with_traceback¶
- class log_with_traceback[source]¶
Bases:
log_with_tracebackwrites messages to the log console for the given log level, including the current stack trace.LogLevelName
LogLevel
Description
DebugLog
0
Logs debugging information messages to the console.
InfoLog
1
Logs general information messages to the console.
WarningLog
2
Logs message to console with Warning icon.
ErrorLog
3
Logs message to console with Error icon, focusing the error console.
AlertLog
4
Logs message to pop up window.