S&box Wiki

Sandbox.Log.Warning

Syntax

static void Warning( string message )

Description

Throws a warning message to the console.

Arguments

string message

Example

Prints "A non-breaking error has occurred!" to the console.

Log.Warning( "A non-breaking error has occurred!" );
Output:
A non-breaking error has occurred!