@map-colonies/js-logger
    Preparing search index...

    Function default

    • Creates a logger instance with the specified options and destination.

      Parameters

      • Optionaloptions: LoggerOptions

        Optional configuration for the logger.

      • destination: string | number = 1

        The destination for the log output. Can be a file path or a file descriptor number. Default is 1.

      Returns Logger

      The configured logger instance.