Skip to content
Snippets Groups Projects
Select Git revision
  • c6e5e17517b7f6bf4542c8b5db987d86552312aa
  • main default protected
  • development
  • integration
  • v1.1.5
  • v1.1.4
  • v1.1.3
  • v1.1.2
  • v1.1.1
  • v1.1.0
  • v1.0.0
11 results

GroupSendReport.swift

Blame
  • EnableGrpcLogs.swift 464 B
    import Bindings
    import XCTestDynamicOverlay
    
    public struct EnableGrpcLogs {
      public var run: (LogWriter) -> Void
    
      public func callAsFunction(_ writer: LogWriter) {
        run(writer)
      }
    }
    
    extension EnableGrpcLogs {
      public static let live = EnableGrpcLogs { writer in
        BindingsEnableGrpcLogs(writer.makeBindingsLogWriter())
      }
    }
    
    extension EnableGrpcLogs {
      public static let unimplemented = EnableGrpcLogs(
        run: XCTUnimplemented("\(Self.self)")
      )
    }