Creates a new logger that can be used for logging messages to CanKing's log window and log file.

  • Parameters

    • categoryName: string

      The category name used by the returned logger, typically the extension name.

    Returns ILogger

    A new logger.