yourlog

Simple python logger


License
Other
Install
pip install yourlog==1.2.0

Documentation

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