Skip to main content

Useful remote logger api.

Project description

Oohlalog Python Plugin
========================
OohLaLogHandler(apiKey, threshold=100, timeout=5, formatter=None)

Required
------------
apiKey = OohLaLog Api Key

Optional
------------
threshold = number of logs before sending to OohLaLog
timeout = number of seconds to keep logs before sending to OohLaLog (overrides the threshold)
formatter = logging.Formatter (http://docs.python.org/2/library/logging.html#logging.Formatter) that overrides the default detail string sent to OohLaLog

========================
Python 2.7

import logging
from oohlalog import logger

logs = logging.getLogger('test')
logs.addHandler(logger.OohLaLogHandler('API_KEY'))

========================
Python 3

import logging
from py3 import logger

logs = logging.getLogger('test')
logs.addHandler(logger.OohLaLogHandler('API_KEY'))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
Oohlalog-0.0.3.tar.gz (2.4 kB) Copy SHA256 hash SHA256 Source None Jun 19, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page