Class BepInExMessageLogInterpolatedStringHandler
Interpolated string handler for BepInEx Logger. This allows to conditionally skip logging certain messages and speed up logging in certain places.
Namespace: BepInEx.Core.Logging.Interpolation
Assembly: BepInEx.Core.dll
Syntax
public class BepInExMessageLogInterpolatedStringHandler : BepInExLogInterpolatedStringHandler
Remarks
The class isn't meant to be constructed manually. Instead, use Log(LogLevel, BepInExLogInterpolatedStringHandler) with string interpolation.
Constructors
Declaration
public BepInExMessageLogInterpolatedStringHandler(int literalLength, int formattedCount, out bool isEnabled)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 |
literalLength |
|
System.Int32 |
formattedCount |
|
System.Boolean |
isEnabled |