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
// Debug mode will record the logs of API and WebSocket to files in the directory "KuCoinApi::getDefaultLogPath()" according to the minimum log level "KuCoinApi::getLogLevel()".
45
+
KuCoinApi::setDebugMode(true);
46
+
47
+
// Logging in your code
48
+
// KuCoinApi::setLogPath('/tmp');
49
+
// KuCoinApi::setLogLevel(Monolog\Logger::DEBUG);
50
+
KuCoinApi::getLogger()->debug('I\'am a debug message');
51
+
```
52
+
41
53
### Examples
42
54
> See the [test case](tests) for more examples.
43
55
@@ -251,6 +263,12 @@ go(function () {
251
263
> Modify your API key in `phpunit.xml` first.
252
264
253
265
```shell
266
+
# Add your API configuration items into the environmental variable first
0 commit comments