Logger
The Python SDK uses Python’s standardlogging module for diagnostic output. There is no custom logger protocol — the SDK obtains the "adaline" named logger with logging.getLogger("adaline") and writes debug, info, warning, and error messages to it.
Configuration via the constructor
Passdebug=True to the Adaline constructor to enable DEBUG-level logging with a StreamHandler that formats messages as [Adaline] LEVEL: message:
Configuring the logger yourself
For production setups you usually want to route theadaline logger through your application’s logging pipeline rather than the SDK’s default handler. Use the standard logging API:
Silencing SDK logs
By default (withdebug=False) the SDK does not attach any handlers; it simply emits messages to the "adaline" named logger. If nothing in your app is configured to consume that logger, nothing is printed. To explicitly silence it:
See Also
- Adaline class — constructor accepts
debug: bool - Python standard library:
logging