Skip to content

BepInExFatalLogInterpolatedStringHandler 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 BepInExFatalLogInterpolatedStringHandler : 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.

BepInExFatalLogInterpolatedStringHandler(int, int, out bool)

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

literalLength int

formattedCount int

isEnabled bool