14 lines
367 B
Python
14 lines
367 B
Python
from loguru import logger
|
|
from qtpy import QtCore
|
|
|
|
from src.core.util import resource_path
|
|
|
|
# logger.remove()
|
|
# logger.add(sys.stderr, level="INFO")
|
|
logger.add("{time:YYYY-MM}/{time:YYYY-MM-DD}.log", rotation="00:00", level="DEBUG", retention='1 day',
|
|
encoding='utf-8')
|
|
|
|
QtCore.QDir.addSearchPath('icons', resource_path('ui/icon/'))
|
|
|
|
__version__ = '0.0.1'
|