Skip to content

Level-Up/python_log_io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

log.io logging handler
======================

Handler for the python logging framework for log.io stateless TCP API

http://logio.org/

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)

About

log.io handler for python logging framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages