yourlog is a simple python logging library
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')
pip install yourlog
- 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