LogCollectorConfig

public struct LogCollectorConfig

Configuration options for the log collector

  • Enable or disable log collection

    Declaration

    Swift

    public let enabled: Bool
  • Minimum log level to capture (“debug”, “info”, “warn”, “error”)

    Declaration

    Swift

    public let level: String
  • Maximum number of log entries to buffer

    Declaration

    Swift

    public let maxEntries: Int
  • Undocumented

    Declaration

    Swift

    public init(enabled: Bool = true, level: String = "debug", maxEntries: Int = 1000)