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