Skip to content

Commit

Permalink
Update RefdsModel.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelesantos committed Oct 28, 2024
1 parent 9e31957 commit 36c5287
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Sources/RefdsShared/Model/RefdsModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,3 @@ public extension RefdsModel {
await Self.loggerInstance.info(message: encodable)
}
}

public extension Array where Element: RefdsModel {
func logger() async {
let encodable = (self as Encodable).message
await RefdsLoggerSystem.shared.info(message: encodable)
}
}

0 comments on commit 36c5287

Please sign in to comment.