A python logging framework handler for log.io
Project description
Handler for the python logging framework for log.io stateless TCP API
Usage:
from log_io_handler import LogIOHandler
Logger.addHandler(LogIOHandler)
#or dict_config
'handlers'
'log_io': {
'level': 'DEBUG',
'class': 'log_io_handler.LogIOHandler',
#optional configs
'logstream': 'EXAMPLE_STREAM',
'node': 'EXAMPLE_NODE',
'host': 'EXAMPLE_HOST',
'port': 28777,
}
logstream: name of log.io stream default (PythonStream)
node: name of log.io node default (PythonNode)
host: log.io server domain or ip address (default localhost)
port: log.io api port (default 28777)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
log_io_handler-1.1.2.tar.gz
(1.6 kB
view details)
File details
Details for the file log_io_handler-1.1.2.tar.gz.
File metadata
- Download URL: log_io_handler-1.1.2.tar.gz
- Upload date:
- Size: 1.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c111fb905a92ff5061fbac8deb0f6d0b9037a3cfd733207e29b1611d506d9aaf
|
|
| MD5 |
96dd461807449d38b74a4e83f67e6819
|
|
| BLAKE2b-256 |
81a49009824e0400a228ce8c7bcb90da951b2595883b18deb359f0e937f5cc18
|