Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// MARK: - WebLogger Logging protocol implementation-
extension WebLogger: Logging
{
public func log(_ message: String)
{
self.post(message)
}
}
// MARK: - CoreDataLogger Logging protocol implementation-
extension CoreDataLogger: Logging
{
public func log(_ message: String)
{
self.insert(message)
}
}
// MARK: - FileLogger Logging protocol implementation-
extension FileLogger: Logging
{
public func log(_ message: String)
{
self.write(message)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.