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.

Source Distribution

Oohlalog-0.0.3.tar.gz (2.4 kB view details)

Uploaded Source

File details

Details for the file Oohlalog-0.0.3.tar.gz.

File metadata

  • Download URL: Oohlalog-0.0.3.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Oohlalog-0.0.3.tar.gz
Algorithm Hash digest
SHA256 361dc94fe5d5910c777978eaf6f9e39930b8dde2bc849574ef0b5952fbf08b8a
MD5 0972c62bd049f3811af1bd9bb0a5f51b
BLAKE2b-256 f2c50ff14516acec97de30bff6f87b9f8d07d4646848eece24a9c0ab660fe0f1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page