Easy Logger
A python package for using logger easily.
Installation
TODO
Usage
from elogger import Logger
logger = Logger.get_stream_logger()
logger.info('logger')
API
class Logger(object):
def init_config(self, level=logging.INFO):
"""Init logging baseConfig
:param int level: logging level
"""
pass
def get_stream_logger(name):
"""Get logger which has add streamHandler. Output log message to stream.
:param str name: logger name
"""
pass
def get_file_logger(name, filepath):
"""Get logger which has add fileHandler. Output log message to specify file.
:param str name: logger name
"""
pass
def get_both_logger(name, filepath):
"""Get logger which has both add streamHandler and fileHandler.
Output log message to stream and specify file.
:param str name: logger name
"""
pass
Better
If you feel anything wrong, feedbacks or pull requests are welcomed.
Metadata
Release files for easy_logger 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| easy_logger-0.1.tar.gz | 1.4 kB | Without provenance | Details for easy_logger-0.1.tar.gz |
Release files / easy_logger-0.1.tar.gz
| Download URL | easy_logger-0.1.tar.gz |
|---|---|
| Size | 1.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1f4c377064469858cfd8171db275ce5931f78f2aaa5da875e9e13c491f828b5d
|
|
BLAKE2b-256 checksum How to use checksums |
393493b244b0e6507c06fa381ba5e604cc40c60cf7fc071040a4fffb19c02833
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for easy_logger 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.