I dub thy version 1.0.0

This commit is contained in:
Gilles Crettenand
2015-06-12 15:08:05 +02:00
parent 964e0e2042
commit 8bfd07b90f
5 changed files with 16 additions and 5 deletions

View File

@@ -23,13 +23,14 @@ class Logger {
return '(n-a)';
}
public static function start() {
public static function start($data = array()) {
self::$start = microtime(true);
self::$data = array(
self::$data = $data + array(
'ip' => self::ip(),
'date' => date('d.m.Y H:i:s'),
'func' => '(none)',
'version' => '(none)',
'error' => ''
);
}