• Injects the decorated field with this mod's log.

    Returns (<K, T>(target: T, key: K) => void)

      • <K, T>(target: T, key: K): void
      • Type Parameters

        • K extends string | number | symbol

        • T extends Record<K, Log>

        Parameters

        • target: T
        • key: K

        Returns void

  • Injects the decorated field with a mod's log.

    Parameters

    • Optional name: string

      Given a mod name, the decorated field will be injected with the log of the enabled/loaded mod by that name.

    Returns (<K, T>(target: T, key: K) => void)

      • <K, T>(target: T, key: K): void
      • Type Parameters

        • K extends string | number | symbol

        • T extends Record<K, Log>

        Parameters

        • target: T
        • key: K

        Returns void

Generated using TypeDoc