Assert on createLogger() without configuration.

100% code coverage.