SwiftextensionFamilyCircle

extension os.Logger

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

extends{}

structos.Logger

Members 4

  1. funcifError(_: Error?, message: String) -> ()
  2. funcifErrorElse(_: Error?, message: String, log: String) -> ()
  3. functrying<A>(file: StaticString, function: StaticString, line: UInt, _: () throws -> A) throws -> A
  4. functrying<A>(file: StaticString, function: StaticString, line: UInt, _: () async throws -> A) async throws -> A
extension os.Logger {
    func ifErrorElse(_: (any Swift.Error)?, message: Swift.String, log: Swift.String)
    func trying<A>(file: Swift.StaticString, function: Swift.StaticString, line: Swift.UInt, _: () throws -> A) throws -> A
    func trying<A>(file: Swift.StaticString, function: Swift.StaticString, line: Swift.UInt, _: () async throws -> A) async throws -> A
    func ifError(_: (any Swift.Error)?, message: Swift.String)
}