Commit graph

21 commits

Author SHA1 Message Date
MoojMidge
030be1f985 Allow forcing stack trace output per logging method call 2025-10-25 13:53:22 +11:00
MoojMidge
75e73c93d7 Fix typo in name of KodiLogger.warning_trace() method 2025-10-12 20:00:49 +11:00
MoojMidge
312239fa71 Workaround Python 2 implicit encoding when using str.join #1246 2025-08-29 20:55:08 +09:00
MoojMidge
7a9145ad14 Workaround Python 2 implicit encoding when using str() #1246 2025-08-29 20:55:08 +09:00
MoojMidge
fde208ac9c Add custom format conversions to logging module
- !d used to log object attributes of custom classes
- !e used to evaluate iterators
- !t used to log text representation of custom classes
- !w used for wide output (2x normal)
2025-07-30 12:52:26 +09:00
MoojMidge
858df08b81 Fix implementation of logging module debugging property
- Follow up to 74721ed821
2025-07-27 23:11:21 +09:00
MoojMidge
c74b379221 Python 2 compatibility fixes
- Fixes for implicit ascii decoding in string iteration/interpolation/formatting as used by pretty print logging
- Fixes for lack of datetime.datetime.timestamp method
2025-07-27 15:10:46 +09:00
MoojMidge
74721ed821 Make root logger debugging property directly accessible from logging module 2025-07-27 15:10:45 +09:00
MoojMidge
d522f8faa2 Update copyright notice dates 2025-07-27 15:10:38 +09:00
MoojMidge
51a66fe7fc Pretty print log messages 2025-07-22 14:34:01 +09:00
MoojMidge
a569cbe4f7 Improve display of multiline log messages 2025-07-22 14:34:00 +09:00
MoojMidge
558f86d8b6 Add warning_trace logging method 2025-07-22 10:41:50 +09:00
MoojMidge
97d27192e3 Use normalised lower case paths and filenames for logging and debugging exclusions
- Correct case sensitivity for path comparisons are not important for this use case
2025-07-07 23:22:55 +09:00
MoojMidge
3b9daa65dd Update and rename logging._check_frame to logging.check_frame
- Extend functionality for potential use by other modules
2025-07-07 23:22:55 +09:00
MoojMidge
920f161014 Update list of modules where logging stacklevel is automatically incremented 2025-07-07 23:22:55 +09:00
MoojMidge
5b25a3ddd0 Python 2 compatibility fixes
- Fixes for logging and debug module
- Improvements and bug fixes for existing compatibility fixes
2025-07-07 13:21:30 +09:00
MoojMidge
62a3bfd9b6 Misc tidy ups 2025-07-02 20:46:48 +09:00
MoojMidge
9c1a2ecc2c Improve addon logging using customised Python logging module 2025-07-02 20:46:45 +09:00
anxdpanic
71be5891c0 refactor logging 2018-09-05 12:11:07 -04:00
anxdpanic
15d92c7650 [code cosmetics] remove ~850 pass statements 2017-10-14 14:34:43 -04:00
anxdpanic
10057e23d8 refactor to relative imports, add module extension point 2017-03-26 19:24:41 -04:00
Renamed from resources/lib/kodion/logging.py (Browse further)