globals: Add a logbook based logger.
This commit is contained in:
parent
5b6fc50877
commit
ab2ba0f9ae
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,7 @@ from __future__ import unicode_literals
|
|||
|
||||
import sys
|
||||
from typing import Dict, Optional
|
||||
from logbook import Logger
|
||||
|
||||
from .utf import WeechatWrapper
|
||||
|
||||
|
@ -41,3 +42,4 @@ ENCRYPTION = True # type: bool
|
|||
SCRIPT_NAME = "matrix" # type: str
|
||||
MAX_EVENTS = 100
|
||||
TYPING_NOTICE_TIMEOUT = 4000 # 4 seconds typing notice lifetime
|
||||
LOGGER = Logger("weechat-matrix")
|
||||
|
|
Loading…
Add table
Reference in a new issue