Updated README.md
This commit is contained in:
parent
9cf4917657
commit
2a35531e9a
1 changed files with 4 additions and 0 deletions
|
@ -67,8 +67,12 @@ multiple error levels that can be used to log messages
|
||||||
```php
|
```php
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
require 'ncc';
|
||||||
|
import('net.nosial.loglib');
|
||||||
|
|
||||||
use Nosial\Libs\Log;
|
use Nosial\Libs\Log;
|
||||||
|
|
||||||
|
|
||||||
Log::info("This is an info message");
|
Log::info("This is an info message");
|
||||||
Log::warning("This is a warning message");
|
Log::warning("This is a warning message");
|
||||||
Log::error("This is an error message");
|
Log::error("This is an error message");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue