Creates a Logger instance using provided options object. Default values are used if options are not provided.
Optionaloptions: LoggerOptionsWrites a log message. Log level and errors can optionally be set.
The message that will be logged.
Optionalerror?: ErrorCan be used to pass an error object along with the log entry
Optionallevel?: LogLevelThe severity level the message should have
Default Mosaic logger class. Used to write logs to the console in JSON format (no line breaks).