You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

14 lines
467 B

from lib.log import logger
from more import more_operations, More
logger.debug('Questo è un messaggio di debug')
logger.info('Questo è un messaggio informativo')
logger.warning('Questo è un messaggio di avvertimento', extra={'ansia': 'molta'})
logger.error('Questo è un messaggio di errore', extra={'cause': 'non so'})
logger.critical('Questo è un messaggio critico', extra={'ansia' :'estrema'})
more_operations()
with More() as more:
more.do_something()