0
0
Fork 0
mirror of https://github.com/alerta/alerta.git synced 2025-01-24 17:29:39 +00:00
alerta_alerta/tests/test_log.py
2013-02-20 21:18:37 +00:00

13 lines
222 B
Python

from logging import getLogger
from alerta import log as logging
from alerta.mymodule import MyClass
logging.setup()
LOG = getLogger(__name__)
LOG.critical('test critical')
A = MyClass()
LOG.critical('test critical2')