Skip to main content

No project description provided

Project description

Helpers for the ELM framework scripts

Logging

Here's a sample logging for production:

[loggers]
keys=root,Rx,rawsocket

[handlers]
keys=consoleHandler,fileHandler,socketFileHandler

[formatters]
keys=fileFormatter,consoleFormatter,socketFileFormatter

[logger_root]
level=DEBUG
handlers=consoleHandler,fileHandler

[logger_Rx]
level=INFO
handlers=consoleHandler
qualname=Rx

[logger_rawsocket]
qualname=bittrade_kraken_websocket.connection.generic.raw
handlers=socketFileHandler

[handler_consoleHandler]
class=StreamHandler
level=INFO
formatter=consoleFormatter
args=(sys.stdout,)

[handler_fileHandler]
class=FileHandler
level=DEBUG
formatter=fileFormatter
args=('logfile.log',)

[handler_socketFileHandler]
class=FileHandler
level=DEBUG
formatter=socketFileFormatter
args=('raw_socket.log',)

[formatter_fileFormatter]
format=%(asctime)s   - %(name)s - %(levelname)s - %(message)s
datefmt=%H:%M:%S

[formatter_socketFileFormatter]
format=%(asctime)s - %(message)s
datefmt=%H:%M:%S

[formatter_consoleFormatter]
format=%(asctime)s   - %(levelname)s - %(message)s
datefmt=%H:%M:%S

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

elm_framework_helpers-0.1.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

elm_framework_helpers-0.1.2-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file elm_framework_helpers-0.1.2.tar.gz.

File metadata

  • Download URL: elm_framework_helpers-0.1.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.5 Linux/5.4.72-microsoft-standard-WSL2

File hashes

Hashes for elm_framework_helpers-0.1.2.tar.gz
Algorithm Hash digest
SHA256 779611215644e00cdeae75cdd82a578ec8dc935da4307db7c00071c64c2cc96a
MD5 4edcaaaa9a5ecf81dd927908b9ea92b1
BLAKE2b-256 e4e7b00e49f688c62d51a092e2fb420c7708bb32b1cb495a85b09873bc90b7ac

See more details on using hashes here.

File details

Details for the file elm_framework_helpers-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: elm_framework_helpers-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.5 Linux/5.4.72-microsoft-standard-WSL2

File hashes

Hashes for elm_framework_helpers-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6ed38fc402426a948e7fb2b5d94c4eed6f52134c5d5f64d84c188b7717669625
MD5 2f9cb08bb891b91de4a05b1b41f22f4f
BLAKE2b-256 8afb3c79b52837ef73b3e5e1da7de5e525a191d877f0e697b9a761692de4236a

See more details on using hashes here.

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