• Loggable mixin. Adds external logger to base class or serves as base class to add external logger to derived class.

    Type Parameters

    Parameters

    Returns {
        prototype: __type<any, any>;
        new (...args: any[]): __type<T, Logger>;
    } & T

    Loggable class.

    The loggableOptions parameter is merged with the following default options and exposed at this.loggableOptions:

    • disabled: []
    • enableAll: false