January 2018
Intermediate to advanced
350 pages
9h 7m
English
A Formatter is a class taking a LogRecord and converting it into a String. It is the one responsible for preparing the content to be sent to the backend. The idea is to separate the writing and formatting concerns, allowing you to reuse one part without having to create a new Handler.
Again, it is often bound to a particular Handler.