hpcflow.sdk.log.AppLog#
- class hpcflow.sdk.log.AppLog(app, log_console_level=None)#
Bases:
object
Application log control.
Methods
Add a log file.
Remove the file handler.
Set the logging level for console messages.
Attributes
Default logging level for the console.
Default logging level for log files.
The base logger for the application.
The handler for directing logging messages to the console.
- add_file_logger(path, level=None, fmt=None, max_bytes=None)#
Add a log file.
- console_handler#
The handler for directing logging messages to the console.
- logger#
The base logger for the application.
- remove_file_handler()#
Remove the file handler.
- Return type:
None