diff --git a/Sources/OversizeCore/Global/Log.swift b/Sources/OversizeCore/Global/Log.swift index 70cc730..7f5452e 100644 --- a/Sources/OversizeCore/Global/Log.swift +++ b/Sources/OversizeCore/Global/Log.swift @@ -47,6 +47,12 @@ public func logWithTime(_ text: String, terminator: String? = nil) { #endif } +@inlinable public func logNetwork(_ text: String, terminator: String? = nil) { + #if DEBUG + terminator == nil ? print("🌎 [NETWORK] \(text)") : print("🛎ī¸ [NETWORK] \(text)", terminator: terminator!) + #endif +} + @inlinable public func logInfo(_ text: String, terminator: String? = nil) { #if DEBUG terminator == nil ? print("ℹī¸ [INFO] \(text)") : print("ℹī¸ [INFO] \(text)", terminator: terminator!)