Create a logger with the given options.