mirror of
https://github.com/alerta/alerta.git
synced 2025-01-24 17:29:39 +00:00
13 lines
222 B
Python
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')
|