Skip to main content

A simple logger package for Jupyter Notebooks

Project description

ou-logger-py

Simple logger for use in Jupyter notebooks.

This package sets up the Pyhton logger for immediate use in a Jupyter notebook setting.

Install as: pip install ou_logger

Usage:

from ou_logger import logger

This will display an information message:

Logger enabled. Set level as: logger.setLevel(LEVEL), where LEVEL is one of: DEBUG, INFO, WARNING, ERROR (default), CRITICAL.
Usage: e.g. logger.error('This is an error message')

Logging messages will be displayed at or above the declared logging level. For example:

  • logger(CRITICAL) will only display CRITICAL messages;
  • logger(WARNING) will display WARNING, ERROR and CRITICAL messages.

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

ou_logger-0.0.1.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

ou_logger-0.0.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file ou_logger-0.0.1.tar.gz.

File metadata

  • Download URL: ou_logger-0.0.1.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.0

File hashes

Hashes for ou_logger-0.0.1.tar.gz
Algorithm Hash digest
SHA256 7f696858452e3f785bde598618a24757dc541e1fc4946ede523dc7a29e8fb378
MD5 a832d0fda53e29e37b190a530c96fed4
BLAKE2b-256 5f74c3f9cb1196407b3d5558825683ca4abea3ed81cbfe3f47a5fefcf61471bb

See more details on using hashes here.

File details

Details for the file ou_logger-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: ou_logger-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.0

File hashes

Hashes for ou_logger-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5cdc8a27dd1aa2a5f1292cee09113ce9749e4817dcd62e106a6e1bf681aa8536
MD5 4430d4e1cefca600643d5925f009f836
BLAKE2b-256 4a4512d6a548427461226e33583a9b537a0a438124bc1fd0a8ac71167b8343a6

See more details on using hashes here.

Supported by

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