Skip to content
Snippets Groups Projects
Select Git revision
  • 3499fcc8402747fc774cbe344c6731c040c5c51e
  • main default protected
  • dev protected
  • hotfixes-oct-2022
  • refactor/avatar-cell
  • 1.1.5
  • 1.1.4
  • 1.1.3
  • 1.1
  • 1.0.8
  • 1.0.7
  • 1.0.6
12 results

Extensions.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)")
      )
    }