Log.Warning(category, message)

Generates a warning message passed as the second argument and associates it with the category passed in the first argument.
static void Warning(string
category
, string
message
);

Arguments

category
(string)
The message category.
message
(string)
The message to generate.

Example

Log.Warning("CustomCategory", "This is a warning message");
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.