warn

abstract fun warn(@NotNull resource: @NotNull Identifier, @NotNull message: @NotNull String)(source)

Logs a warning caused by a resource (for example, it is malformed).

Parameters

resource

The resource, which caused the warning

message

The warning/error message