From 6cd1d78572391229bdcca394a8961f83cbc53040 Mon Sep 17 00:00:00 2001 From: Nico Verbruggen Date: Sat, 12 Feb 2022 14:58:49 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=8C=20Tweak=20logger=20verbosity?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- phpmon/Common/Core/Logger.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/phpmon/Common/Core/Logger.swift b/phpmon/Common/Core/Logger.swift index 776aecf..d963558 100644 --- a/phpmon/Common/Core/Logger.swift +++ b/phpmon/Common/Core/Logger.swift @@ -27,25 +27,25 @@ class Log { static func err(_ item: Any) { if Verbosity.error.isApplicable() { - print("[ERR] \(item)") + print("[E] \(item)") } } static func warn(_ item: Any) { if Verbosity.warning.isApplicable() { - print("[WRN] \(item)") + print("[W] \(item)") } } static func info(_ item: Any) { if Verbosity.info.isApplicable() { - print(item) + print("\(item)") } } static func perf(_ item: Any) { if Verbosity.performance.isApplicable() { - print(item) + print("[P] \(item)") } }