Made isEnabled a PartialFunction

This allows specifying only the levels to enable, when configuring
a Logger.
If a level is not specified is disabled by default, and this is
determined by the isEnabledDefault value in LoggerMacro.