Method ConfigureFileLogging
ConfigureFileLogging(string, LMKitLogLevel, bool, bool, bool)
Configures a support-friendly logging pipeline that writes LM-Kit logs to a file in a single call.
public static void ConfigureFileLogging(string logFilePath, Runtime.LMKitLogLevel level = LMKitLogLevel.Trace, bool enableBackendLogging = true, bool append = false, bool autoFlush = true)
Parameters
logFilePathstringThe target log file path (relative or absolute). The parent directory is created automatically if missing.
levelRuntime.LMKitLogLevelThe log verbosity level to apply (default: Trace).
enableBackendLoggingboolWhen true, native backend diagnostics are forwarded to LM-Kit’s managed logging pipeline.
appendboolWhen true, appends to an existing file. When false, overwrites the file.
autoFlushboolWhen true, flushes to disk after each write. Recommended for customer support scenarios.