Can you use a logger as a callable?