Skip to content

Commit

Permalink
Included log function in other functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsligh committed Aug 5, 2024
1 parent bb76394 commit bb768f8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions PrebidMobile/Logging/SDKConsoleLogger.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,27 @@ import Foundation
public class SDKConsoleLogger: NSObject, PrebidLogger {

public func error(_ object: Any, filename: String, line: Int, function: String) {

log(object, logLevel: .error, filename: filename, line: line, function: function)
}

public func info(_ object: Any, filename: String, line: Int, function: String) {

log(object, logLevel: .info, filename: filename, line: line, function: function)
}

public func debug(_ object: Any, filename: String, line: Int, function: String) {

log(object, logLevel: .debug, filename: filename, line: line, function: function)
}

public func verbose(_ object: Any, filename: String, line: Int, function: String) {

log(object, logLevel: .verbose, filename: filename, line: line, function: function)
}

public func warn(_ object: Any, filename: String, line: Int, function: String) {

log(object, logLevel: .warn, filename: filename, line: line, function: function)
}

public func severe(_ object: Any, filename: String, line: Int, function: String) {

log(object, logLevel: .severe, filename: filename, line: line, function: function)
}

public func whereAmI(filename: String, line: Int, function: String) {
Expand Down

0 comments on commit bb768f8

Please sign in to comment.