No project description provided
Project description
===========
Hyperion V0.0.1
===========
Hyperion provides an intuitive and efficient way to store logs from python into AWS CloudWatch.
Typical usage looks like this::
#Create an alias for the package
import hyperion
#returns a logger with the cloud watch handler established. The steam name should be unique to the application.
log = hyperion.get_logger(stream_name="holy_grail_app",log_group='monty_python')
additional parameters for get_logger(stream_name,log_group,default_level):
stream_name = the unique stream that the logs will be inserted into. defaults to: test_stream
log_group = the group of streams that are associated with your team. defaults to: test_group
default_level = the default logging level ie: debug,info,warning,error,critical. defaults to: info
#Any log functions or configurations can be done to the log object returned.
log.setLevel(logging.DEBUG)
Hyperion V0.0.1
===========
Hyperion provides an intuitive and efficient way to store logs from python into AWS CloudWatch.
Typical usage looks like this::
#Create an alias for the package
import hyperion
#returns a logger with the cloud watch handler established. The steam name should be unique to the application.
log = hyperion.get_logger(stream_name="holy_grail_app",log_group='monty_python')
additional parameters for get_logger(stream_name,log_group,default_level):
stream_name = the unique stream that the logs will be inserted into. defaults to: test_stream
log_group = the group of streams that are associated with your team. defaults to: test_group
default_level = the default logging level ie: debug,info,warning,error,critical. defaults to: info
#Any log functions or configurations can be done to the log object returned.
log.setLevel(logging.DEBUG)
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.1.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for hyperion_logs-0.0.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be4c158a3dbb8557ac32f58bcf06c32f1df2c5997f1303faad06fd591b887d3b |
|
MD5 | 5273d45d851f8397419a591ab0a3adff |
|
BLAKE2b-256 | 7329158b60c38e7e41f8b3bd6f490ad307960119a56ffbdb3820279ee883ab5d |