aboutsummaryrefslogtreecommitdiff
path: root/src/phinde/Log.php
blob: 2369a2bc86b8dc0f261dfb921b0ccaded38733c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
namespace phinde;

class Log
{
    public static function error($msg)
    {
        static::log($msg);
    }

    public static function info($msg)
    {
        if ($GLOBALS['phinde']['debug']) {
            static::log($msg);
        }
    }

    public static function log($msg)
    {
        echo $msg . "\n";
    }
}
?>