Outlog
Outlog it's a library to make logging a simple task!.
I'm a lazy python user, the times that i do logging on my apps it's hard to do, a lot of useless code just for print some things or saving to files.
Really simple to use.!
How-to Install
git clone https://github.com/zsendokame/outlog; cd outlog; pip install -e .
# Or
pip install outlog
How-to Use
This is a little tutorial!
import outlog
outlog.createLogger('logFile.log')
outlog.save('logLevel', 'logMessage')
outlog.log('logLevel', 'logMessage')
'''
Levels:
debug
info
warn
error
critical
'''
@outlog.catch
def functionWithAnError():
1 / 0
'''
[ 00:00:00 ] ERROR: There's an error with functionWithAnError() on line 3: division by zero
'''
print('And i still alive!')
Metadata
Release files for Outlog 1.0.4
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 |
|---|---|---|---|---|
| Outlog-1.0.4.tar.gz | 2.3 kB | Without provenance | Details for Outlog-1.0.4.tar.gz |
Release files / Outlog-1.0.4.tar.gz
| Download URL | Outlog-1.0.4.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
add3ddefae503d5600da63545fcb2825139881e64ea066481633713956a16c3b
|
|
BLAKE2b-256 checksum How to use checksums |
40a673d7f7e4ea9ddebfe69ff0148552040547188172240f7eb71e8ba8ff2e17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6
|
Security for Outlog 1.0.4
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.