Skip to content

BepInExWarningLogInterpolatedStringHandler Class

Interpolated string handler for BepInEx Logger. This allows to conditionally skip logging certain messages and speed up logging in certain places.

C#
public class BepInExWarningLogInterpolatedStringHandler : BepInExLogInterpolatedStringHandler

Inheritance objectBepInExLogInterpolatedStringHandler

The class isn’t meant to be constructed manually. Instead, use BepInEx.Logging.ManualLogSource.Log(BepInEx.Logging.LogLevel%2cBepInEx.Core.Logging.Interpolation.BepInExLogInterpolatedStringHandler) with string interpolation.

BepInExWarningLogInterpolatedStringHandler(int, int, out bool)

Section titled “BepInExWarningLogInterpolatedStringHandler(int, int, out bool)”
C#
public BepInExWarningLogInterpolatedStringHandler(int literalLength, int formattedCount, out bool isEnabled)

literalLength int

formattedCount int

isEnabled bool