Skip to content

Commit 5d2b076

Browse files
committed
Add dbginit() for quick initialization
1 parent db68cc4 commit 5d2b076

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/debug-functions.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,19 @@
1111

1212
use Fabacino\Debug\Debug;
1313

14+
/**
15+
* Initialize singleton instance.
16+
*
17+
* @param array $settings Settings.
18+
*
19+
* @return void
20+
* @see Debug::init()
21+
*/
22+
function dbginit(array $settings = [])
23+
{
24+
Debug::init($settings);
25+
}
26+
1427
/**
1528
* Print debug value
1629
*

0 commit comments

Comments
 (0)