forked from brmlab/brmbar-github
gui: logger
This commit is contained in:
parent
829bab66b4
commit
0a8e2b727b
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ handler.setLevel(logging.DEBUG)
|
|||
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
|
||||
handler.setFormatter(formatter)
|
||||
root.addHandler(handler)
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
# User credit balance limit; sale will fail when balance is below this limit.
|
||||
LIMIT_BALANCE = -200
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue