cowbird.api

Subpackages

Submodules

Functions

get_logger(→ logging.Logger)

Immediately sets the logger level to avoid duplicate log outputs from the root logger and this logger when

includeme(→ None)

Include API sub-modules.

Package Contents

cowbird.api.get_logger(name: str, level: int | None = None, force_stdout: bool = None, message_format: str | None = None, datetime_format: str | None = None) logging.Logger[source]

Immediately sets the logger level to avoid duplicate log outputs from the root logger and this logger when level is logging.NOTSET.

cowbird.api.includeme(config: pyramid.config.Configurator) None[source]

Include API sub-modules.

Each should define an includeme function with further sub-modules to include, and every one of their relative views and routes.