PHP Classes

File: src/BaseLogger.php

Recommend this page to a friend!
  Classes of Joseluis Laso   Simple Logger   src/BaseLogger.php   Download  
File: src/BaseLogger.php
Role: Class source
Content type: text/plain
Description: Class source
Class: Simple Logger
Log messages and view log filtered files
Author: By
Last change: Update of src/BaseLogger.php
Date: 1 year ago
Size: 380 bytes
 

Contents

Class file image Download
<?php

namespace JLaso\SimpleLogger;

abstract class
BaseLogger extends BaseConfig implements LoggerInterface
{
    public static function
debug($data)
    {
        static::
log('debug', $data);
    }

    public static function
error($data)
    {
        static::
log('error', $data);
    }

    public static function
info($data)
    {
        static::
log('info', $data);
    }
}