No project description provided
Project description
Introduction
Translucent provides a wrapper around the Python logging module, and is ment to be a central place to gather all generic functionality related to logging.
Example
The following is a sample dictConfig to configure translucent’s JSON formatter.
version: 1
handlers:
console:
class: logging.StreamHandler
formatter: json
level: INFO
stream: ext://sys.stdout
root:
level: INFO
handlers: [console]
loggers:
urllib3:
level: INFO
formatters:
default:
format: '%(asctime)s %(levelname)-8s %(name)-35s %(message)s'
datefmt: '%Y-%m-%d %H:%M:%S'
json:
(): translucent.formatters.JSON
namespace: ai
name: logzio-prototype
disable_existing_loggers: False
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
translucent-0.8.0.tar.gz
(3.7 kB
view details)
File details
Details for the file translucent-0.8.0.tar.gz
.
File metadata
- Download URL: translucent-0.8.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.7.0 requests/2.25.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebd78d90c03030f119a4866e03554c3559e7d8c8728c82c8644894e976b3b7aa |
|
MD5 | 6c1f3571a8820e1b095bd9dd3e64295f |
|
BLAKE2b-256 | a454f0626059fb56c18df5434d9c7900bba738360f9257fe6ef93effcc89ea32 |