Instantiates new logger instances.

interface LoggerFactory {
    createLogger: ((label: string) => Logger);
}

Implemented by

Properties

Properties

createLogger: ((label: string) => Logger)

Create a logger instance for the given label.

Type declaration

    • (label): Logger
    • Parameters

      • label: string

        A label that is used to identify the given logger.

      Returns Logger