Skip to main content

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)




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)

Uploaded Source

Built Distribution

hyperion_logs-0.0.1-py2-none-any.whl (6.3 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page