Skip to content

Commit 15c3f41

Browse files
authored
Update README.md
1 parent 7e2e0e2 commit 15c3f41

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,22 @@ composer require bufferapp/php-bufflog
1919
As 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

3131
If 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

Comments
 (0)