added date and time to the logfiles
This commit is contained in:
parent
26d2173fa2
commit
7f0c33e45f
@ -130,10 +130,11 @@ class ManiaControl implements CommandListener {
|
|||||||
* @param string $message
|
* @param string $message
|
||||||
*/
|
*/
|
||||||
public function log($message, $stripCodes = false) {
|
public function log($message, $stripCodes = false) {
|
||||||
|
$date = date("d.M y H:i:s");
|
||||||
if($stripCodes) {
|
if($stripCodes) {
|
||||||
$message = Formatter::stripCodes($message);
|
$message = Formatter::stripCodes($message);
|
||||||
}
|
}
|
||||||
logMessage($message);
|
logMessage($date . ' ' . $message);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user