git.cweiske.de
/
phinde.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
add log class
[phinde.git]
/
src
/
phinde
/
Log.php
1
<?php
2
namespace phinde;
3
4
class Log
5
{
6
public static function error($msg)
7
{
8
static::log($msg);
9
}
10
11
public static function info($msg)
12
{
13
if ($GLOBALS['phinde']['debug']) {
14
static::log($msg);
15
}
16
}
17
18
public static function log($msg)
19
{
20
echo $msg . "\n";
21
}
22
}
23
?>