ListWarningLogger

Implementation of a WarningLogger that accumulates the warnings in a list, to be used as a convenience by third-party apps.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The list of accumulated Warnings.

Functions

Link copied to clipboard
open override fun log(warning: Warning)

Notifies that a warning occurred.

Link copied to clipboard
fun WarningLogger.log(modelClass: Class<*>, reason: String, json: JSONObject? = null, severity: Warning.SeverityLevel = Warning.SeverityLevel.MAJOR)

Raises a JsonWarning.