couchbase
    Preparing search index...

    Function createConsoleLogger

    • Creates a CouchbaseLogger that outputs to the console up to the specified log level.

      Parameters

      • logLevel: LogLevel

        The log level to output to the console.

      • Optionalprefix: string

        Optional prefix to prepend to all log messages.

      Returns CouchbaseLogger

      A CouchbaseLogger configured for console output.