Skip to main content

k3log

Action-CI Documentation Status Package

k3log is a collection of log utilities.

k3log is a component of pykit3 project: a python3 toolkit set.

Install

pip install k3log

Synopsis

import k3log

# make a file logger in one line
logger = k3log.make_logger("/tmp", level="INFO", fmt="%(message)s", datefmt="%H:%M:%S")
logger.info("foo")

logger.stack_str(fmt="{fn}:{ln} in {func}\n  {statement}", sep="\n")
# runpy.py:174 in _run_module_as_main
#   "__main__", fname, loader, pkg_name)
# runpy.py:72 in _run_code
#   exec code in run_globals
# ...
# test_logutil.py:82 in test_deprecate
#   k3log.deprecate()
#   'foo', fmt='{fn}:{ln} in {func}\n  {statement}', sep='\n')

Author

Zhang Yanpo (张炎泼) drdr.xp@gmail.com

Copyright and License

The MIT License (MIT)

Copyright (c) 2015 Zhang Yanpo (张炎泼) drdr.xp@gmail.com

Metadata

Release files for k3log 0.1.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for k3log 0.1.10
File Size Uploaded
k3log-0.1.10.tar.gz 10.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for k3log 0.1.10
File Interpreter ABI Platform
k3log-0.1.10-py3-none-any.whl Python 3 none any Details

Total release size: 18.4 kB

Release files / k3log-0.1.10.tar.gz

Download URL k3log-0.1.10.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3ad1c7deed7bb76c52d58131c66412e4f20f05372eafe4445f38577674e224bf
BLAKE2b-256 checksum
How to use checksums
806e88ae632d055f9ed6a3bbe925957b4f9203ec11cdecc4aebdcbfcbc0344e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release files / k3log-0.1.10-py3-none-any.whl

Download URL k3log-0.1.10-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
058059b060f7d1a4bdeec2942bb000bb94077dba8f59901cd5492c6c0d059741
BLAKE2b-256 checksum
How to use checksums
f90884a6c6408f4aa91691ce265c8668e9baac2bb7c4555f2929b5b3d6674510
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Release history Release notifications | RSS feed

0.1.12

2 release files

This release

0.1.10 This release

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

1 release file

0.1.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page