You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@ Naming used here is the same as in ClickHouse docs.
20
20
## Contents
21
21
22
22
-[Setup](#setup)
23
+
-[Logging](#logging)
23
24
-[Time Zones](#time-zones)
24
25
-[PSR Factories who?](#psr-factories-who)
25
26
-[Sync API](#sync-api)
@@ -44,7 +45,6 @@ Create a new instance of client and pass PSR factories:
44
45
45
46
use Http\Client\Curl\Client;
46
47
use Nyholm\Psr7\Factory\Psr17Factory;
47
-
use Psr\Log\NullLogger;
48
48
use SimPod\ClickHouseClient\Client\PsrClickHouseClient;
49
49
use SimPod\ClickHouseClient\Client\Http\RequestFactory;
50
50
@@ -55,7 +55,6 @@ $clickHouseClient = new PsrClickHouseClient(
55
55
new Psr17Factory,
56
56
new Psr17Factory
57
57
),
58
-
new NullLogger(),
59
58
'https://localhost:8123',
60
59
[
61
60
'database' => 'dbname',
@@ -66,6 +65,10 @@ $clickHouseClient = new PsrClickHouseClient(
66
65
);
67
66
```
68
67
68
+
### Logging
69
+
70
+
`SimPod\ClickHouseClient\Client\Http\LoggerPlugin` is available to be used with [HTTPlug PluginClient](http://docs.php-http.org/en/latest/plugins/index.html).
71
+
69
72
### Time Zones
70
73
71
74
ClickHouse does not have date times with timezones.
0 commit comments