Skip to content

Commit 33d7b2d

Browse files
csruischlessera
authored andcommitted
Fix using --format other than table
As pointed out on issue #152 the `--format` option is not doing so well when using values other than `table`. Also on that issue, @swang-va commented (#152 (comment)) about a possible solution that seems to fix the issue.
1 parent eb22994 commit 33d7b2d

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

src/Logger.php

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,17 @@
44

55
class Logger {
66

7-
public $time = 0;
8-
public $query_count = 0;
9-
public $query_time = 0;
10-
public $cache_hits = 0;
11-
public $cache_misses = 0;
12-
public $cache_ratio = null;
13-
public $hook_count = 0;
14-
public $hook_time = 0;
15-
public $request_count = 0;
16-
public $request_time = 0;
7+
public $time = 0;
8+
public $query_count = 0;
9+
public $query_time = 0;
10+
public $cache_hits = 0;
11+
public $cache_misses = 0;
12+
public $cache_ratio = null;
13+
public $hook_count = 0;
14+
public $hook_time = 0;
15+
public $request_count = 0;
16+
public $request_time = 0;
17+
public $callback_count = 0;
1718

1819
private $start_time = null;
1920
private $query_offset = null;

0 commit comments

Comments
 (0)