No project description provided
Project description
===========
Hyperion V0.0.3
===========
Hyperion provides an intuitive and efficient way to store logs from python into AWS CloudWatch.
Typical Usage:
#import the package
import hyperion
#This will return the HyperionLogger Object which included additional built in functions.
log = hyperion.get_logger()
#add the handler with a unique stream name and log group name.
#Note: You can do this anywhere in your code so if the stream_name has to be generated in code.
#Bigger NOTE: If you do not add a handler it will not log to cloud watch!
log.add_handler(stream_name,log_group)
#There is also a set_level function to set the level for the logger.
log.set_level(debug,info,warning, etc.)
#In order to start logging do the following:
log.info('message')
log.debug('message')
log.error(dict(foo='bar',details={'user_name':'user123','password':'password1'}))
Hyperion V0.0.3
===========
Hyperion provides an intuitive and efficient way to store logs from python into AWS CloudWatch.
Typical Usage:
#import the package
import hyperion
#This will return the HyperionLogger Object which included additional built in functions.
log = hyperion.get_logger()
#add the handler with a unique stream name and log group name.
#Note: You can do this anywhere in your code so if the stream_name has to be generated in code.
#Bigger NOTE: If you do not add a handler it will not log to cloud watch!
log.add_handler(stream_name,log_group)
#There is also a set_level function to set the level for the logger.
log.set_level(debug,info,warning, etc.)
#In order to start logging do the following:
log.info('message')
log.debug('message')
log.error(dict(foo='bar',details={'user_name':'user123','password':'password1'}))
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hyperion-logs-0.0.4.tar.gz
(5.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hyperion-logs-0.0.4.tar.gz.
File metadata
- Download URL: hyperion-logs-0.0.4.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b605394d5b33a802f1e1b7029f8ec0a2af4647ca12c1df61e4f4d9df046babe7
|
|
| MD5 |
431275b32291d2a4542c176757985f1e
|
|
| BLAKE2b-256 |
c15b2c4b5bdbaa1f19e35f32eb35f7e55add865b67f0e4731a973fdc20b9d96b
|
File details
Details for the file hyperion_logs-0.0.4-py2-none-any.whl.
File metadata
- Download URL: hyperion_logs-0.0.4-py2-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d304de7481bc3f69079ab9940802036cb21cc1d149e7492efc464a8eb6b4566c
|
|
| MD5 |
1ddfc95cc22f46ac6fd8bbe0d67c0c14
|
|
| BLAKE2b-256 |
c1fad755094148adb922dceffe57ab35c31a9193725e9c0dba1ce06dfcc4dca9
|