Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.

Files for Oohlalog, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size Oohlalog-0.0.3.tar.gz (2.4 kB) File type Source Python version None Upload date Hashes View hashes

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 SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page