Code example for Logger

Methods: isLoggable, log