# how to use this:
logger = LogManager(‘logger_name’).get_and_add_handlers(log_level_int=1, is_add_stream_handler=True, log_path=None, log_filename=None, log_file_size=10,mongo_url=None,formatter_template=2)
logger.debug(‘hello’)
logger.info(‘world’)
### if you want to also write logs to mongodb
connect_url = ‘mongodb://myUserAdmin:8mwTdy1klnxxxx@112.25.53.14:27017/admin’ logger = LogManager(‘helloMongo’).get_logger_and_add_handlers(mongo_url=connect_url)
logger.debug(‘hello’)
logger.info(‘world’)
### and also you can write log information to file
Metadata
Release files for multiprocessing_log_manager 0.2.5
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 |
|---|---|---|---|---|
| multiprocessing_log_manager-0.2.5.tar.gz | 19.8 kB | Without provenance | Details for multiprocessing_log_manager-0.2.5.tar.gz |
Release files / multiprocessing_log_manager-0.2.5.tar.gz
| Download URL | multiprocessing_log_manager-0.2.5.tar.gz |
|---|---|
| Size | 19.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d567ac23768e1ed1d21afbabfd88ac2f2081ceab3a781c7db17115a487cb0c99
|
|
BLAKE2b-256 checksum How to use checksums |
7ed64680a05a19800029061a8a1490cc88ee408678d73ff3d7ddec27682e7db7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.6
|
Security for multiprocessing_log_manager 0.2.5
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.