Skip to content

Monolg Examples

If you'd like to see more realisic examples monolg, you can find them in the following repository, which is meant for a more in-depth look into the library and its different use cases

monolg-examples

A very impractical code block

import monolg

mlg = Monolg(verbose=True)

mlg.clear_logs()
mlg.clear_sys_logs()

mlg.connect()

mlg.log('This is a log log')
mlg.info('This is a info log')
mlg.warning('This is a warning log')
mlg.error('This is a error log')
mlg.critical('This is a critical log')

mlg.close()

Last update: December 29, 2022
Created: October 26, 2022