Blame view

src/pyros_logger_caller_test.py 484 Bytes
f5c731dd   Etienne Pallier   New pyros logger ...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/env python3

"""LOGGER

"""


#import logging
import pyros_logger
from pyros_logger import logger

if __name__ == "__main__":

    #my_logger = get_logger()
    ##pyros_logger.set_logger_config()

    #my_logger = logging.getLogger('pyroslogger')

    #logging_tree.printout()  

    logger.debug("a new debug message")
    logger.info("a new info message")
    logger.warning("a warn message")
    logger.error("a error message")
    logger.critical("a critical message")