@@ -19,22 +19,22 @@ composer require bufferapp/php-bufflog
1919As simple as...
2020
2121``` php
22- use Buffer\Bufflog ;
22+ use Buffer\BuffLog\BuffLog ;
2323
24- Bufflog ::debug("I am a debug");
25- Bufflog ::info("I am an info");
26- Bufflog ::warning("I am a warning");
27- Bufflog ::error("I am an error");
28- Bufflog ::critical("I am a warning");
24+ BuffLog ::debug("I am a debug");
25+ BuffLog ::info("I am an info");
26+ BuffLog ::warning("I am a warning");
27+ BuffLog ::error("I am an error");
28+ BuffLog ::critical("I am a warning");
2929```
3030
3131If you wish add more context in your logs,
3232``` php
33- Bufflog ::debug("some context", ["my key" => " my value"]);
34- Bufflog ::info("I am a info with context", ["my key" => " my value"]);
35- Bufflog ::warning("I am a warning", ["duration" => "40ms"]);
33+ BuffLog ::debug("some context", ["my key" => " my value"]);
34+ BuffLog ::info("I am a info with context", ["my key" => " my value"]);
35+ BuffLog ::warning("I am a warning", ["duration" => "40ms"]);
3636
37- Bufflog ::critical("I'm critical log, here some extra fancy informations",
37+ BuffLog ::critical("I'm critical log, here some extra fancy informations",
3838 [
3939 "duration" => "40ms",
4040 "services_related" => [
0 commit comments