Replaces the library log functions with a custom one.
A logger object responsible for logging messages.
Replaces the library log functions with a custom one.