forked from dictation-toolbox/unimacro
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'unimacro_logger' of github.com:dougransom/unimacro into…
… unimacro_logger
- Loading branch information
Showing
4 changed files
with
102 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
"""Unimacro __init__ | ||
Provides a logger for logging throughout unimacro. Use this instead of a global logger of the 'natlink' root logger. | ||
This lets us set the levels for unimacro differently for debugging, if desired. | ||
Note there will be a global variable created in the unimacro module 'ulogger' which is Logging.Logger object named 'natlink.unimacro' | ||
You can always access it by name. It is created in _control.py. | ||
""" | ||
import os | ||
import sys | ||
|
||
from .logger import unimacro_logger | ||
def logname() -> str: | ||
""" Returns the name of the unimacro logger.""" | ||
return "natlink.unimacro" | ||
__version__ = '4.1.4.2' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.