From 7f0c33e45f77f89b7d52d9d651ddec92520723c6 Mon Sep 17 00:00:00 2001 From: kremsy Date: Fri, 10 Jan 2014 13:21:07 +0100 Subject: [PATCH] added date and time to the logfiles --- application/core/ManiaControl.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/core/ManiaControl.php b/application/core/ManiaControl.php index e05b3771..8d0b80d7 100644 --- a/application/core/ManiaControl.php +++ b/application/core/ManiaControl.php @@ -130,10 +130,11 @@ class ManiaControl implements CommandListener { * @param string $message */ public function log($message, $stripCodes = false) { + $date = date("d.M y H:i:s"); if($stripCodes) { $message = Formatter::stripCodes($message); } - logMessage($message); + logMessage($date . ' ' . $message); } /**