Function initLoggerFactory

Initializes a logger factory with the specified path.

  • Parameters

    • path: string

      The endpoint to which log messages will be sent.

    Returns { useLogger: (name: string) => ILogger }

    An object containing a useLogger method to create logger instances.

    • useLogger: (name: string) => ILogger

      Creates a logger instance with the specified name.