nimblebox logo
Docs
v3.3.1b

nbox.nbxlib.logger

Contains our custom logger and formatters so you can log things like a pro. It can generate both inline logs as well as JSON logs (easier to consume by other tools). Json logs go really well with our custom logger for jobs and deploy where you can logs arbitrary objects and have them nicely formatted in the console.

Parts of this code are taken from the awesome pyjsonlogger library (Pypi)

Functions

iconfunctionget_logger
[source]
iconfunctionlo
[source]

Classes

iconclass_LogObject
[source]
iconfunction__init__
[source]
iconclassInlineFormatter
[source]
iconfunction__init__
[source]
iconfunctionformat
[source]
iconclassJsonFormatter
[source]
iconfunctionformat
[source]

Formats a log record and serializes to json

iconclass_JsonEncoder
[source]
iconfunctiondefault
[source]
iconfunctionformat_datetime_obj
[source]
nbox SDKnbox provides built in access to all the APIs and packages them in the most user friendly manner.Star 0