Added ConsoleLogger class for convenience.