Skip to main content

Flask log output

Project description

flask_log_sku1

Simple print formatter

Installation

pip install flask-log-sku1

example:

from flask_log_sku1 import log

log("Hello world").success()
log("INFO").info()
log("WARNING").warning()
log("ERROR").error()

options for log() are: success() info() warning() error()

Settings

use the following environment variables to change the following settings:

FLASK_LOG_COLOR="True" # default
FLASK_LOG_DATE_FORMAT="%d/%b/%Y %H:%M:%S" # default

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

flask_log_sku1-1.1.1.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

flask_log_sku1-1.1.1-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

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