Creates a logger instance with the specified options and destination.
Optional
Optional configuration for the logger.
The destination for the log output. Can be a file path or a file descriptor number. Default is 1.
The configured logger instance.
Creates a logger instance with the specified options and destination.