No project description provided
Project description
===========
Hyperion V0.0.2
===========
Hyperion provides an intuitive and efficient way to store logs from python into AWS CloudWatch.
There are two different workflows.
#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.
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.2
===========
Hyperion provides an intuitive and efficient way to store logs from python into AWS CloudWatch.
There are two different workflows.
#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.
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.2.tar.gz
(5.1 kB
view hashes)
Built Distribution
Close
Hashes for hyperion_logs-0.0.2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b80c21e234bd218fdfc2bffb0fc611d52b3e541fe0eec4bf36aaf5cdb279ba2c |
|
MD5 | 073e5e2f1b0e51c58fce248676e7facd |
|
BLAKE2b-256 | 81860acfb1be3345db9f85ebc0b3f126164d9be3290533dc19bf5850ad6ad0b9 |