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.1.0.tar.gz (12.0 kB view hashes)

Uploaded Source

Built Distribution

yourlog-1.1.0-py3-none-any.whl (11.4 kB view hashes)

Uploaded Python 3

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