• Returns string representation of the warning according to the configuration.

    Parameters

    • warn: Warning
    • colorize: boolean
    • addNewline: boolean

    Returns string