mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-04-21 14:59:02 +00:00
Logging: Switch to loguru
Loguru is a flexible logger that allows for easier hooking and imports into Rich with no problems. Also makes progress bars stick to the bottom of the terminal window. Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
import yaml
|
||||
import pathlib
|
||||
from loguru import logger
|
||||
|
||||
from common.logger import init_logger
|
||||
from common.utils import unwrap
|
||||
|
||||
logger = init_logger(__name__)
|
||||
|
||||
GLOBAL_CONFIG: dict = {}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user