Function setLoggerFactory

  • Hands AgentOS a factory of ILoggers. createLogger calls it at once. A lazy handle calls it at each write with its component and context, and writes (event, fields) to the logger it returns.

    Parameters

    • factory: LoggerFactory

      The factory.

    Returns void