Do you want the name of the class as a string?
instance.__class__.__name__
from: https://stackoverflow.com/questions/510972/getting-the-class-name-of-an-instance
This library is provided to allow standard python logging to output log data as json objects. With JSON we can make our logs more readable by machines and we can stop writing custom parsers for syslog type records.
from: https://github.com/madzak/python-json-logger#using-a-config-file