Создание файлов конфигураци
Project description
Использование
from logsmal import logger
logger.success("Программа запущена", flag="RUN")
Создать кастомный логгер. Посмотрите все доступные аргменты :meth:logsmal.loglevel.__init__()
from logsmal import loglevel, logger, CompressionLog
logger.MyLogger = loglevel(
level="[melogger]",
fileout="./log/mylog.log",
max_size_file="10kb",
console_out=False,
compression=CompressionLog.zip_file
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
logsmal-0.0.4.tar.gz
(12.7 kB
view hashes)