-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Logbook support #8
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- a run-once `initialize` method takes care of it all - removed `set_width`, `set_coloring`, `set_graphics` - the env-var `TERM_COLOR_SUPPORT` is no longer checked - the env-var `EASYPY_LOG_INDENTATION` is no longer checked - instead of updating `globals()`, update a `G` singleton logging: deprecate '&' for '|' when using logger.pipe() Also added docstrings examples: example for initializing logging update changelog units: DataSize - return 'byte' and 'MiB' instead of '1 byte' and '1 MiB' this improves compatibility with 3rd party tools that dislike the space inside the value, and is more consistent with higher values ('5bytes', '5MiB') 0.4.0 - update changlog and setup.py logging: refactoring to support logbook logging: fix ContextLoggerMixin for better compatibility with underlying logging framework: - moved into a subpackage - break up ContextLoggerMixin into distinct components - use .log instead of ._log - auto-convert '%s' to '{}'-style formatting - use @[]@ for coloring instead of @{}@
…(#212); Also... apply_timestamp to exception only if missing
logging: fix ContextLoggerMixin for better compatibility with underlying logging framework: - moved into a subpackage - break up ContextLoggerMixin into distinct components - use .log instead of ._log - don't use deferred formatting since we don't know if it's '%s' or '{}' - use @[]@ for coloring instead of @{}@
- removed deprecated locking_lru_cache - removed 'ignored_keywords' from timecache, in favor of 'key_func' - bug fix in timecache's default key_func not taking defaults into account - added support for populating the a timecache - added support for setting key_func via decorator
koreno
force-pushed
the
logbook-support
branch
from
August 29, 2020 11:44
fc7b443
to
815ef2e
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.