Android Logcat Diagnostics
class AndroidLogcatDiagnostics(writer: AndroidLogWriter, val tag: String = "VModalSDK", val requestLevel: DiagnosticLogLevel = DiagnosticLogLevel.DEBUG, val responseLevel: DiagnosticLogLevel = DiagnosticLogLevel.INFO, val failureLevel: DiagnosticLogLevel = DiagnosticLogLevel.WARNING, val lineLimit: Int) : DiagnosticSink
DiagnosticSink that renders sanitized events as bounded Android Logcat lines.
The application supplies writer, normally by delegating to android.util.Log.println, so the core SDK remains JVM-testable and has no hard Android framework dependency.
Constructors
Link copied to clipboard
constructor(writer: AndroidLogWriter, tag: String = "VModalSDK", requestLevel: DiagnosticLogLevel = DiagnosticLogLevel.DEBUG, responseLevel: DiagnosticLogLevel = DiagnosticLogLevel.INFO, failureLevel: DiagnosticLogLevel = DiagnosticLogLevel.WARNING, lineLimit: Int)