We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ce1581 commit 45de79bCopy full SHA for 45de79b
example.php
@@ -0,0 +1,19 @@
1
+<?php
2
+require_once('./src/php-bufflog/BuffLog.php');
3
+
4
+use Buffer\Bufflog;
5
6
+Bufflog::debug("I am a debug");
7
+Bufflog::debug("I am a debug with context", ["my key" => " my value"]);
8
9
+Bufflog::info("I am an info");
10
+Bufflog::debug("I am a info with context", ["my key" => " my value"]);
11
12
+Bufflog::warn("I am a warning");
13
+Bufflog::warn("I am a warning", ["duration" => "40ms"]);
14
15
+Bufflog::error("I am an error");
16
+Bufflog::error("I am an error", ["mean" => "70"]);
17
18
+Bufflog::critical("I am critical information!");
19
+Bufflog::critical("I am critical information!", ["user" => "betrand"]);
0 commit comments