Validate.

Log(OptionalWarning, string, Object) Method

Summary

[Animancer Extension] [Assert-Conditional] Logs the `message` as a warning if the `type` is enabled.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
Validate

Syntax

[System.Diagnostics.Conditional(Strings.Assertions)]
[HideInCallstack]
public static void Log(this OptionalWarning type, string message, Object context = null)

Remarks

Does nothing if the `message` is null.

Attributes

Type Description
ConditionalAttribute
HideInCallstackAttribute

Parameters

Name Type Description
type OptionalWarning
message string
context Object

Return Value

Type Description
void