Utilities — Werkzeug documentation
From Get docs
Werkzeug/docs/1.0.x/utils
Utilities
Various utility functions shipped with Werkzeug.
HTML Helpers
General Helpers
UserAgent Parsing
Security Helpers
New in version 0.6.1.
Logging
Werkzeug uses standard Python logging
. The logger is named "werkzeug"
.
import logging
logger = logging.getLogger("werkzeug")
If the logger level is not set, it will be set to INFO
on first use. If there is no handler for that level, a StreamHandler
is added.