Создание файлов конфигураци
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.5.tar.gz
(12.8 kB
view details)
Built Distribution
File details
Details for the file logsmal-0.0.5.tar.gz
.
File metadata
- Download URL: logsmal-0.0.5.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.13.0-30-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25625c3ab6d549eb257f2c7de4732c740a2ec41376d6b26bd86444adc3f902c2 |
|
MD5 | 5b91d4b190975c8a594949012ae1fcc9 |
|
BLAKE2b-256 | 05df10af1eb2c6ea97679f18d7978f430b27967991f39e4acda55e76dd9daab3 |
File details
Details for the file logsmal-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: logsmal-0.0.5-py3-none-any.whl
- Upload date:
- Size: 9.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.13.0-30-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc0b77b667efb7d1302085653b84c95c4ec6ab42bf853a00c94f740e52558ab8 |
|
MD5 | e51c316cab8d47c4bf01d0701d445eb0 |
|
BLAKE2b-256 | 3f2f79918524e85166fd57f191ff13affeb8b2693c68836d0505f780ba115276 |