Logging
RuntimeFormatter(*args, **kwargs)
Bases: logging.Formatter
Auxiliary class for runtime formatting in the logger.
Source code in src/deeponto/utils/logging.py
26 27 28 |
|
formatTime(record, datefmt=None)
Record relative runtime in hr:min:sec format。
Source code in src/deeponto/utils/logging.py
30 31 32 33 34 |
|
create_logger(model_name, saved_path)
Create logger for both console info and saved info.
The pre-existed log file will be cleared before writing into new messages.
Source code in src/deeponto/utils/logging.py
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
|
banner_message(message, sym='^')
Print a banner message surrounded by special symbols.
Source code in src/deeponto/utils/logging.py
61 62 63 64 65 66 67 68 69 70 |
|
Last update:
February 1, 2023
Created: January 14, 2023
Created: January 14, 2023
GitHub: