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 all file handlers.
Set the logging level for console messages.
Attributes
Default logging level for the console.
Default logging level for log files.
The application context.
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.
- app#
The application context.
- console_handler#
The handler for directing logging messages to the console.
- logger#
The base logger for the application.
- remove_file_handlers()#
Remove all file handlers.
- Return type:
None