The BepInExWarningLogInterpolatedStringHandler is an interpolated string handler for the BepInEx Logger. It is designed to improve performance by allowing the system to conditionally skip the construction of logging messages when the specific log level is disabled, reducing overhead in performance-critical areas.
This class is not intended to be instantiated manually by developers. Instead, it is utilized automatically by the compiler when using string interpolation with BepInEx.Logging.ManualLogSource.Log.
// Do not instantiate BepInExWarningLogInterpolatedStringHandler manually.
// Use ManualLogSource.Log with string interpolation instead:
logger.Log(LogLevel.Warn, $"This is an interpolated warning message with value: {value}");