PHP Classes

File: example/index.php

Recommend this page to a friend!
  Classes of Muhammad Umer Farooq   PHP Logger class   example/index.php   Download  
File: example/index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Logger class
Log messages with different levels of severity
Author: By
Last change:
Date: 5 years ago
Size: 184 bytes
 

Contents

Class file image Download
<?php
   
use Lablnet\Logger;
    require
'../vendor/autoload.php';
   
$logger = new Logger;
   
$logger->debug("Hi im log msg and im {field}" , ['field' => 'debug']);
   
var_dump($logger->get());