Skip to content

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

BepInExInfoLogInterpolatedStringHandler(int, int, out bool)

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

literalLength int

formattedCount int

isEnabled bool