Facepunch.Steamworks Wiki

Steamworks.SteamNetworkingUtils.DebugLevel

Syntax

static NetDebugOutput DebugLevel { get; set; }

Description

Get Debug Information via OnDebugOutput event

Except when debugging, you should only use NetDebugOutput.Msg or NetDebugOutput.Warning. For best performance, do NOT request a high detail level and then filter out messages in the callback.

This incurs all of the expense of formatting the messages, which are then discarded.
Setting a high priority value (low numeric value) here allows the library to avoid doing this work.