Skip to main content

simple logging

Project description

logger_aux (v0.0.11)

DESCRIPTION_SHORT

simple logging

DESCRIPTION_LONG

designed for DRY simple/easy usage logging

Features

  1. keep all mostly used code in hidden class

License

See the LICENSE file for license rights and limitations (MIT).

Release history

See the HISTORY.md file for release history.

Installation

pip install logger-aux

Import

from logger_aux import *

USAGE EXAMPLES

See tests and sourcecode for other examples.


1. example1.py

from logger_aux import *
from object_info import ObjectInfo


# USAGE-1=DIRECT ===================================
logger0 = Logger(log_enable=True)
# ObjectInfo(logger0.LOGGER).print()

# logger0.LOGGER.debug()    # TypeError: Logger.debug() missing 1 required positional argument: 'msg'
logger0.LOGGER.debug(None)  # OK
logger0.LOGGER.debug(True)  # OK
logger0.LOGGER.debug("")    # OK
logger0.LOGGER.debug("hello0-1")

logger1 = Logger("logger_first", log_enable=True)
logger1.LOGGER.debug("hello1-1")

logger2 = Logger("logger_second", log_enable=True)
logger2.LOGGER.debug("hello2-1")

logger0.LOGGER.debug("hello0-2")
logger1.LOGGER.debug("hello1-2")
logger2.LOGGER.debug("hello2-2")

# LOG_DIRPATH -----------------------
logger_dir = Logger("logger_dir", "c:\\1", log_enable=True)
logger_dir.LOGGER.debug("hello_dir")

print(f"{logger_dir.LOG_DIRPATH=}")
print(f"{logger_dir.LOG_FILEPATH=}")


# USAGE-2=NESTING ===================================
class Example(Logger):
    LOG_ENABLE = True

    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)

    def meth(self):
        self.LOGGER.debug("hello123")


Example().meth()

# ObjectInfo(logger0.LOGGER).print()

2. logger__Example.log

2024-04-27 14:55:45,097[DEBUG]Example(main.py).__init__(line152)/thread50340::====================================================================================================
2024-04-27 14:55:45,098[DEBUG]Example(main.py).__init__(line155)/thread50340::[Logger.Example] start STREAM
2024-04-27 14:55:45,098[DEBUG]Example(main.py).__init__(line158)/thread50340::[Logger.Example] start FILE=[C:\__STARICHENKO_Element\PROJECTS\abc=logger_aux\EXAMPLES\logger__Example.log]
2024-04-27 14:55:45,098[DEBUG]Example(example1.py).meth(line41)/thread50340::hello123
2024-04-27 14:56:35,120[DEBUG]Example(main.py).__init__(line152)/thread39932::====================================================================================================
2024-04-27 14:56:35,120[DEBUG]Example(main.py).__init__(line155)/thread39932::[Logger.Example] start STREAM
2024-04-27 14:56:35,120[DEBUG]Example(main.py).__init__(line158)/thread39932::[Logger.Example] start FILE=[C:\__STARICHENKO_Element\PROJECTS\abc=logger_aux\EXAMPLES\logger__Example.log]
2024-04-27 14:56:35,121[DEBUG]Example(example1.py).meth(line41)/thread39932::hello123
2024-04-27 14:56:41,419[DEBUG]Example(main.py).__init__(line152)/thread31224::====================================================================================================
2024-04-27 14:56:41,419[DEBUG]Example(main.py).__init__(line155)/thread31224::[Logger.Example] start STREAM
2024-04-27 14:56:41,419[DEBUG]Example(main.py).__init__(line158)/thread31224::[Logger.Example] start FILE=[C:\__STARICHENKO_Element\PROJECTS\abc=logger_aux\EXAMPLES\logger__Example.log]
2024-04-27 14:56:41,420[DEBUG]Example(example1.py).meth(line41)/thread31224::hello123
2024-04-27 14:57:41,958[DEBUG]Example(main.py).__init__(line152)/thread32520::====================================================================================================
2024-04-27 14:57:41,959[DEBUG]Example(main.py).__init__(line155)/thread32520::[Logger.Example] start STREAM
2024-04-27 14:57:41,959[DEBUG]Example(main.py).__init__(line158)/thread32520::[Logger.Example] start FILE=[C:\__STARICHENKO_Element\PROJECTS\abc=logger_aux\EXAMPLES\logger__Example.log]
2024-04-27 14:57:41,959[DEBUG]Example(example1.py).meth(line41)/thread32520::hello123
2024-04-27 15:27:49,968[DEBUG]Example(main.py).__init__(line152)/thread28020::====================================================================================================
2024-04-27 15:27:49,968[DEBUG]Example(main.py).__init__(line155)/thread28020::[Logger.Example] start STREAM
2024-04-27 15:27:49,969[DEBUG]Example(main.py).__init__(line158)/thread28020::[Logger.Example] start FILE=[C:\__STARICHENKO_Element\PROJECTS\abc=logger_aux\EXAMPLES\logger__Example.log]
2024-04-27 15:27:49,969[DEBUG]Example(example1.py).meth(line41)/thread28020::hello123

3. logger__logger_first.log

2024-04-27 14:56:35,114[DEBUG]logger_first(main.py).__init__(line152)/thread39932::====================================================================================================
2024-04-27 14:56:35,114[DEBUG]logger_first(main.py).__init__(line155)/thread39932::[Logger.logger_first] start STREAM
2024-04-27 14:56:35,114[DEBUG]logger_first(main.py).__init__(line158)/thread39932::[Logger.logger_first] start FILE=[C:\__STARICHENKO_Element\PROJECTS\abc=logger_aux\EXAMPLES\logger__logger_first.log]
2024-04-27 14:56:35,115[DEBUG]logger_first(example1.py).<module>(line16)/thread39932::hello1-1
2024-04-27 14:56:35,117[DEBUG]logger_first(example1.py).<module>(line22)/thread39932::hello1-2
2024-04-27 14:56:41,414[DEBUG]logger_first(main.py).__init__(line152)/thread31224::====================================================================================================
2024-04-27 14:56:41,414[DEBUG]logger_first(main.py).__init__(line155)/thread31224::[Logger.logger_first] start STREAM
2024-04-27 14:56:41,415[DEBUG]logger_first(main.py).__init__(line158)/thread31224::[Logger.logger_first] start FILE=[C:\__STARICHENKO_Element\PROJECTS\abc=logger_aux\EXAMPLES\logger__logger_first.log]
2024-04-27 14:56:41,415[DEBUG]logger_first(example1.py).<module>(line16)/thread31224::hello1-1
2024-04-27 14:56:41,417[DEBUG]logger_first(example1.py).<module>(line22)/thread31224::hello1-2
2024-04-27 14:57:41,954[DEBUG]logger_first(main.py).__init__(line152)/thread32520::====================================================================================================
2024-04-27 14:57:41,954[DEBUG]logger_first(main.py).__init__(line155)/thread32520::[Logger.logger_first] start STREAM
2024-04-27 14:57:41,955[DEBUG]logger_first(main.py).__init__(line158)/thread32520::[Logger.logger_first] start FILE=[C:\__STARICHENKO_Element\PROJECTS\abc=logger_aux\EXAMPLES\logger__logger_first.log]
2024-04-27 14:57:41,955[DEBUG]logger_first(example1.py).<module>(line16)/thread32520::hello1-1
2024-04-27 14:57:41,957[DEBUG]logger_first(example1.py).<module>(line22)/thread32520::hello1-2
2024-04-27 15:27:49,963[DEBUG]logger_first(main.py).__init__(line152)/thread28020::====================================================================================================
2024-04-27 15:27:49,963[DEBUG]logger_first(main.py).__init__(line155)/thread28020::[Logger.logger_first] start STREAM
2024-04-27 15:27:49,964[DEBUG]logger_first(main.py).__init__(line158)/thread28020::[Logger.logger_first] start FILE=[C:\__STARICHENKO_Element\PROJECTS\abc=logger_aux\EXAMPLES\logger__logger_first.log]
2024-04-27 15:27:49,964[DEBUG]logger_first(example1.py).<module>(line16)/thread28020::hello1-1
2024-04-27 15:27:49,966[DEBUG]logger_first(example1.py).<module>(line22)/thread28020::hello1-2

4. logger__logger_second.log

2024-04-27 14:56:35,115[DEBUG]logger_second(main.py).__init__(line152)/thread39932::====================================================================================================
2024-04-27 14:56:35,116[DEBUG]logger_second(main.py).__init__(line155)/thread39932::[Logger.logger_second] start STREAM
2024-04-27 14:56:35,116[DEBUG]logger_second(main.py).__init__(line158)/thread39932::[Logger.logger_second] start FILE=[C:\__STARICHENKO_Element\PROJECTS\abc=logger_aux\EXAMPLES\logger__logger_second.log]
2024-04-27 14:56:35,116[DEBUG]logger_second(example1.py).<module>(line19)/thread39932::hello2-1
2024-04-27 14:56:35,117[DEBUG]logger_second(example1.py).<module>(line23)/thread39932::hello2-2
2024-04-27 14:56:41,415[DEBUG]logger_second(main.py).__init__(line152)/thread31224::====================================================================================================
2024-04-27 14:56:41,415[DEBUG]logger_second(main.py).__init__(line155)/thread31224::[Logger.logger_second] start STREAM
2024-04-27 14:56:41,416[DEBUG]logger_second(main.py).__init__(line158)/thread31224::[Logger.logger_second] start FILE=[C:\__STARICHENKO_Element\PROJECTS\abc=logger_aux\EXAMPLES\logger__logger_second.log]
2024-04-27 14:56:41,416[DEBUG]logger_second(example1.py).<module>(line19)/thread31224::hello2-1
2024-04-27 14:56:41,417[DEBUG]logger_second(example1.py).<module>(line23)/thread31224::hello2-2
2024-04-27 14:57:41,955[DEBUG]logger_second(main.py).__init__(line152)/thread32520::====================================================================================================
2024-04-27 14:57:41,956[DEBUG]logger_second(main.py).__init__(line155)/thread32520::[Logger.logger_second] start STREAM
2024-04-27 14:57:41,956[DEBUG]logger_second(main.py).__init__(line158)/thread32520::[Logger.logger_second] start FILE=[C:\__STARICHENKO_Element\PROJECTS\abc=logger_aux\EXAMPLES\logger__logger_second.log]
2024-04-27 14:57:41,956[DEBUG]logger_second(example1.py).<module>(line19)/thread32520::hello2-1
2024-04-27 14:57:41,957[DEBUG]logger_second(example1.py).<module>(line23)/thread32520::hello2-2
2024-04-27 15:27:49,964[DEBUG]logger_second(main.py).__init__(line152)/thread28020::====================================================================================================
2024-04-27 15:27:49,965[DEBUG]logger_second(main.py).__init__(line155)/thread28020::[Logger.logger_second] start STREAM
2024-04-27 15:27:49,965[DEBUG]logger_second(main.py).__init__(line158)/thread28020::[Logger.logger_second] start FILE=[C:\__STARICHENKO_Element\PROJECTS\abc=logger_aux\EXAMPLES\logger__logger_second.log]
2024-04-27 15:27:49,966[DEBUG]logger_second(example1.py).<module>(line19)/thread28020::hello2-1
2024-04-27 15:27:49,966[DEBUG]logger_second(example1.py).<module>(line23)/thread28020::hello2-2

5. logger__root.log

2024-04-27 14:56:35,111[DEBUG]root(main.py).__init__(line152)/thread39932::====================================================================================================
2024-04-27 14:56:35,111[DEBUG]root(main.py).__init__(line155)/thread39932::[Logger.root] start STREAM
2024-04-27 14:56:35,112[DEBUG]root(main.py).__init__(line158)/thread39932::[Logger.root] start FILE=[C:\__STARICHENKO_Element\PROJECTS\abc=logger_aux\EXAMPLES\logger__root.log]
2024-04-27 14:56:35,112[DEBUG]root(example1.py).<module>(line10)/thread39932::None
2024-04-27 14:56:35,112[DEBUG]root(example1.py).<module>(line11)/thread39932::True
2024-04-27 14:56:35,113[DEBUG]root(example1.py).<module>(line12)/thread39932::
2024-04-27 14:56:35,113[DEBUG]root(example1.py).<module>(line13)/thread39932::hello0-1
2024-04-27 14:56:35,114[DEBUG]logger_first(main.py).__init__(line152)/thread39932::====================================================================================================
2024-04-27 14:56:35,114[DEBUG]logger_first(main.py).__init__(line155)/thread39932::[Logger.logger_first] start STREAM
2024-04-27 14:56:35,114[DEBUG]logger_first(main.py).__init__(line158)/thread39932::[Logger.logger_first] start FILE=[C:\__STARICHENKO_Element\PROJECTS\abc=logger_aux\EXAMPLES\logger__logger_first.log]
2024-04-27 14:56:35,115[DEBUG]logger_first(example1.py).<module>(line16)/thread39932::hello1-1
2024-04-27 14:56:35,115[DEBUG]logger_second(main.py).__init__(line152)/thread39932::====================================================================================================
2024-04-27 14:56:35,116[DEBUG]logger_second(main.py).__init__(line155)/thread39932::[Logger.logger_second] start STREAM
2024-04-27 14:56:35,116[DEBUG]logger_second(main.py).__init__(line158)/thread39932::[Logger.logger_second] start FILE=[C:\__STARICHENKO_Element\PROJECTS\abc=logger_aux\EXAMPLES\logger__logger_second.log]
2024-04-27 14:56:35,116[DEBUG]logger_second(example1.py).<module>(line19)/thread39932::hello2-1
2024-04-27 14:56:35,117[DEBUG]root(example1.py).<module>(line21)/thread39932::hello0-2
2024-04-27 14:56:35,117[DEBUG]logger_first(example1.py).<module>(line22)/thread39932::hello1-2
2024-04-27 14:56:35,117[DEBUG]logger_second(example1.py).<module>(line23)/thread39932::hello2-2
2024-04-27 14:56:35,118[DEBUG]logger_dir(main.py).__init__(line152)/thread39932::====================================================================================================
2024-04-27 14:56:35,118[DEBUG]logger_dir(main.py).__init__(line155)/thread39932::[Logger.logger_dir] start STREAM
2024-04-27 14:56:35,119[DEBUG]logger_dir(main.py).__init__(line158)/thread39932::[Logger.logger_dir] start FILE=[c:\1\logger__logger_dir.log]
2024-04-27 14:56:35,119[DEBUG]logger_dir(example1.py).<module>(line27)/thread39932::hello_dir
2024-04-27 14:56:35,120[DEBUG]Example(main.py).__init__(line152)/thread39932::====================================================================================================
2024-04-27 14:56:35,120[DEBUG]Example(main.py).__init__(line155)/thread39932::[Logger.Example] start STREAM
2024-04-27 14:56:35,120[DEBUG]Example(main.py).__init__(line158)/thread39932::[Logger.Example] start FILE=[C:\__STARICHENKO_Element\PROJECTS\abc=logger_aux\EXAMPLES\logger__Example.log]
2024-04-27 14:56:35,121[DEBUG]Example(example1.py).meth(line41)/thread39932::hello123
2024-04-27 14:56:41,413[DEBUG]root(main.py).__init__(line152)/thread31224::====================================================================================================
2024-04-27 14:56:41,413[DEBUG]root(main.py).__init__(line155)/thread31224::[Logger.root] start STREAM
2024-04-27 14:56:41,413[DEBUG]root(main.py).__init__(line158)/thread31224::[Logger.root] start FILE=[C:\__STARICHENKO_Element\PROJECTS\abc=logger_aux\EXAMPLES\logger__root.log]
2024-04-27 14:56:41,413[DEBUG]root(example1.py).<module>(line10)/thread31224::None
2024-04-27 14:56:41,413[DEBUG]root(example1.py).<module>(line11)/thread31224::True
2024-04-27 14:56:41,414[DEBUG]root(example1.py).<module>(line12)/thread31224::
2024-04-27 14:56:41,414[DEBUG]root(example1.py).<module>(line13)/thread31224::hello0-1
2024-04-27 14:56:41,414[DEBUG]logger_first(main.py).__init__(line152)/thread31224::====================================================================================================
2024-04-27 14:56:41,414[DEBUG]logger_first(main.py).__init__(line155)/thread31224::[Logger.logger_first] start STREAM
2024-04-27 14:56:41,415[DEBUG]logger_first(main.py).__init__(line158)/thread31224::[Logger.logger_first] start FILE=[C:\__STARICHENKO_Element\PROJECTS\abc=logger_aux\EXAMPLES\logger__logger_first.log]
2024-04-27 14:56:41,415[DEBUG]logger_first(example1.py).<module>(line16)/thread31224::hello1-1
2024-04-27 14:56:41,415[DEBUG]logger_second(main.py).__init__(line152)/thread31224::====================================================================================================
2024-04-27 14:56:41,415[DEBUG]logger_second(main.py).__init__(line155)/thread31224::[Logger.logger_second] start STREAM
2024-04-27 14:56:41,416[DEBUG]logger_second(main.py).__init__(line158)/thread31224::[Logger.logger_second] start FILE=[C:\__STARICHENKO_Element\PROJECTS\abc=logger_aux\EXAMPLES\logger__logger_second.log]
2024-04-27 14:56:41,416[DEBUG]logger_second(example1.py).<module>(line19)/thread31224::hello2-1
2024-04-27 14:56:41,417[DEBUG]root(example1.py).<module>(line21)/thread31224::hello0-2
2024-04-27 14:56:41,417[DEBUG]logger_first(example1.py).<module>(line22)/thread31224::hello1-2
2024-04-27 14:56:41,417[DEBUG]logger_second(example1.py).<module>(line23)/thread31224::hello2-2
2024-04-27 14:56:41,417[DEBUG]logger_dir(main.py).__init__(line152)/thread31224::====================================================================================================
2024-04-27 14:56:41,418[DEBUG]logger_dir(main.py).__init__(line155)/thread31224::[Logger.logger_dir] start STREAM
2024-04-27 14:56:41,418[DEBUG]logger_dir(main.py).__init__(line158)/thread31224::[Logger.logger_dir] start FILE=[c:\1\logger__logger_dir.log]
2024-04-27 14:56:41,418[DEBUG]logger_dir(example1.py).<module>(line27)/thread31224::hello_dir
2024-04-27 14:56:41,419[DEBUG]Example(main.py).__init__(line152)/thread31224::====================================================================================================
2024-04-27 14:56:41,419[DEBUG]Example(main.py).__init__(line155)/thread31224::[Logger.Example] start STREAM
2024-04-27 14:56:41,419[DEBUG]Example(main.py).__init__(line158)/thread31224::[Logger.Example] start FILE=[C:\__STARICHENKO_Element\PROJECTS\abc=logger_aux\EXAMPLES\logger__Example.log]
2024-04-27 14:56:41,420[DEBUG]Example(example1.py).meth(line41)/thread31224::hello123
2024-04-27 14:57:41,953[DEBUG]root(main.py).__init__(line152)/thread32520::====================================================================================================
2024-04-27 14:57:41,953[DEBUG]root(main.py).__init__(line155)/thread32520::[Logger.root] start STREAM
2024-04-27 14:57:41,953[DEBUG]root(main.py).__init__(line158)/thread32520::[Logger.root] start FILE=[C:\__STARICHENKO_Element\PROJECTS\abc=logger_aux\EXAMPLES\logger__root.log]
2024-04-27 14:57:41,953[DEBUG]root(example1.py).<module>(line10)/thread32520::None
2024-04-27 14:57:41,954[DEBUG]root(example1.py).<module>(line11)/thread32520::True
2024-04-27 14:57:41,954[DEBUG]root(example1.py).<module>(line12)/thread32520::
2024-04-27 14:57:41,954[DEBUG]root(example1.py).<module>(line13)/thread32520::hello0-1
2024-04-27 14:57:41,954[DEBUG]logger_first(main.py).__init__(line152)/thread32520::====================================================================================================
2024-04-27 14:57:41,954[DEBUG]logger_first(main.py).__init__(line155)/thread32520::[Logger.logger_first] start STREAM
2024-04-27 14:57:41,955[DEBUG]logger_first(main.py).__init__(line158)/thread32520::[Logger.logger_first] start FILE=[C:\__STARICHENKO_Element\PROJECTS\abc=logger_aux\EXAMPLES\logger__logger_first.log]
2024-04-27 14:57:41,955[DEBUG]logger_first(example1.py).<module>(line16)/thread32520::hello1-1
2024-04-27 14:57:41,955[DEBUG]logger_second(main.py).__init__(line152)/thread32520::====================================================================================================
2024-04-27 14:57:41,956[DEBUG]logger_second(main.py).__init__(line155)/thread32520::[Logger.logger_second] start STREAM
2024-04-27 14:57:41,956[DEBUG]logger_second(main.py).__init__(line158)/thread32520::[Logger.logger_second] start FILE=[C:\__STARICHENKO_Element\PROJECTS\abc=logger_aux\EXAMPLES\logger__logger_second.log]
2024-04-27 14:57:41,956[DEBUG]logger_second(example1.py).<module>(line19)/thread32520::hello2-1
2024-04-27 14:57:41,957[DEBUG]root(example1.py).<module>(line21)/thread32520::hello0-2
2024-04-27 14:57:41,957[DEBUG]logger_first(example1.py).<module>(line22)/thread32520::hello1-2
2024-04-27 14:57:41,957[DEBUG]logger_second(example1.py).<module>(line23)/thread32520::hello2-2
2024-04-27 14:57:41,957[DEBUG]logger_dir(main.py).__init__(line152)/thread32520::====================================================================================================
2024-04-27 14:57:41,958[DEBUG]logger_dir(main.py).__init__(line155)/thread32520::[Logger.logger_dir] start STREAM
2024-04-27 14:57:41,958[DEBUG]logger_dir(main.py).__init__(line158)/thread32520::[Logger.logger_dir] start FILE=[c:\1\logger__logger_dir.log]
2024-04-27 14:57:41,958[DEBUG]logger_dir(example1.py).<module>(line27)/thread32520::hello_dir
2024-04-27 14:57:41,958[DEBUG]Example(main.py).__init__(line152)/thread32520::====================================================================================================
2024-04-27 14:57:41,959[DEBUG]Example(main.py).__init__(line155)/thread32520::[Logger.Example] start STREAM
2024-04-27 14:57:41,959[DEBUG]Example(main.py).__init__(line158)/thread32520::[Logger.Example] start FILE=[C:\__STARICHENKO_Element\PROJECTS\abc=logger_aux\EXAMPLES\logger__Example.log]
2024-04-27 14:57:41,959[DEBUG]Example(example1.py).meth(line41)/thread32520::hello123
2024-04-27 15:27:49,962[DEBUG]root(main.py).__init__(line152)/thread28020::====================================================================================================
2024-04-27 15:27:49,962[DEBUG]root(main.py).__init__(line155)/thread28020::[Logger.root] start STREAM
2024-04-27 15:27:49,962[DEBUG]root(main.py).__init__(line158)/thread28020::[Logger.root] start FILE=[C:\__STARICHENKO_Element\PROJECTS\abc=logger_aux\EXAMPLES\logger__root.log]
2024-04-27 15:27:49,962[DEBUG]root(example1.py).<module>(line10)/thread28020::None
2024-04-27 15:27:49,963[DEBUG]root(example1.py).<module>(line11)/thread28020::True
2024-04-27 15:27:49,963[DEBUG]root(example1.py).<module>(line12)/thread28020::
2024-04-27 15:27:49,963[DEBUG]root(example1.py).<module>(line13)/thread28020::hello0-1
2024-04-27 15:27:49,963[DEBUG]logger_first(main.py).__init__(line152)/thread28020::====================================================================================================
2024-04-27 15:27:49,963[DEBUG]logger_first(main.py).__init__(line155)/thread28020::[Logger.logger_first] start STREAM
2024-04-27 15:27:49,964[DEBUG]logger_first(main.py).__init__(line158)/thread28020::[Logger.logger_first] start FILE=[C:\__STARICHENKO_Element\PROJECTS\abc=logger_aux\EXAMPLES\logger__logger_first.log]
2024-04-27 15:27:49,964[DEBUG]logger_first(example1.py).<module>(line16)/thread28020::hello1-1
2024-04-27 15:27:49,964[DEBUG]logger_second(main.py).__init__(line152)/thread28020::====================================================================================================
2024-04-27 15:27:49,965[DEBUG]logger_second(main.py).__init__(line155)/thread28020::[Logger.logger_second] start STREAM
2024-04-27 15:27:49,965[DEBUG]logger_second(main.py).__init__(line158)/thread28020::[Logger.logger_second] start FILE=[C:\__STARICHENKO_Element\PROJECTS\abc=logger_aux\EXAMPLES\logger__logger_second.log]
2024-04-27 15:27:49,966[DEBUG]logger_second(example1.py).<module>(line19)/thread28020::hello2-1
2024-04-27 15:27:49,966[DEBUG]root(example1.py).<module>(line21)/thread28020::hello0-2
2024-04-27 15:27:49,966[DEBUG]logger_first(example1.py).<module>(line22)/thread28020::hello1-2
2024-04-27 15:27:49,966[DEBUG]logger_second(example1.py).<module>(line23)/thread28020::hello2-2
2024-04-27 15:27:49,966[DEBUG]logger_dir(main.py).__init__(line152)/thread28020::====================================================================================================
2024-04-27 15:27:49,967[DEBUG]logger_dir(main.py).__init__(line155)/thread28020::[Logger.logger_dir] start STREAM
2024-04-27 15:27:49,968[DEBUG]logger_dir(main.py).__init__(line158)/thread28020::[Logger.logger_dir] start FILE=[c:\1\logger__logger_dir.log]
2024-04-27 15:27:49,968[DEBUG]logger_dir(example1.py).<module>(line27)/thread28020::hello_dir
2024-04-27 15:27:49,968[DEBUG]Example(main.py).__init__(line152)/thread28020::====================================================================================================
2024-04-27 15:27:49,968[DEBUG]Example(main.py).__init__(line155)/thread28020::[Logger.Example] start STREAM
2024-04-27 15:27:49,969[DEBUG]Example(main.py).__init__(line158)/thread28020::[Logger.Example] start FILE=[C:\__STARICHENKO_Element\PROJECTS\abc=logger_aux\EXAMPLES\logger__Example.log]
2024-04-27 15:27:49,969[DEBUG]Example(example1.py).meth(line41)/thread28020::hello123

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

logger_aux-0.0.11.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

logger_aux-0.0.11-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file logger_aux-0.0.11.tar.gz.

File metadata

  • Download URL: logger_aux-0.0.11.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for logger_aux-0.0.11.tar.gz
Algorithm Hash digest
SHA256 79a289b26175a0cd501e88e4750006d28b2f8e7c98b2484fbceb2afd8adac61c
MD5 b3a040401c0226b481a7cfacb5dea827
BLAKE2b-256 2a839001cdd8508837eb4aacce0ddebcb6af4b28a27b1d03948f620d866ea3c5

See more details on using hashes here.

File details

Details for the file logger_aux-0.0.11-py3-none-any.whl.

File metadata

  • Download URL: logger_aux-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.7

File hashes

Hashes for logger_aux-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 a7a93ba3ca52942260901d75d0e12ab7c108d593cfa5e905ef1b4e25f53693dc
MD5 7fcddbbfb876f6a71e41c390df54584a
BLAKE2b-256 2b1f84c9ac41d524b726f625ca984c341f0151bb8c2f1a511f6024fd1fd5630e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page