Skip to main content

Simple python logger

Project description

yourlog

About

yourlog is a simple python logging library

Usage example

import yourlog

logger = yourlog.Logger('last.log')

logger.add_listener('lastest.log')
logger.add_listener(print)

logger.debug('Debug there')
logger.info('Info here')
logger.warn('Warn here')
logger.error('Error here')
logger.fatal('Fatal there')

logger.custom('Custom type', 'Custom here')

Installing

pip install yourlog

Building from source code

  • Clone the repo
    git clone https://github.com/Kiber2009/yourlog.git
    cd yourlog
    
  • Make sure you have the latest version of PyPA’s build installed
    py -m pip install --upgrade build
    
  • Build the lib
    py -m build
    

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

yourlog-1.2.0.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

yourlog-1.2.0-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file yourlog-1.2.0.tar.gz.

File metadata

  • Download URL: yourlog-1.2.0.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for yourlog-1.2.0.tar.gz
Algorithm Hash digest
SHA256 d5399c440b34a11a0443e108d106d1539a8990004228bb7eaaaf74ccc8eb1b87
MD5 93873772f33f636bd00587a105aa817f
BLAKE2b-256 91b7704c867ac7426049dc5a674a1dd3d326cdce6af1edb2bbcfe221c9488f31

See more details on using hashes here.

File details

Details for the file yourlog-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: yourlog-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.5

File hashes

Hashes for yourlog-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 45ec5947aa7559c6a0be2e293ec9d2805dc769522ce3b652d6f9890649f0ebd7
MD5 775744aa9be8ee500833593e7000237d
BLAKE2b-256 fc1b9ebbea368c1c43b2471ffe43013dd2c8df41b7bb16553cdf94207d4f4948

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