git.cweiske.de
/
shpub.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
replace echo with Log:: calls
[shpub.git]
/
src
/
shpub
/
Log.php
diff --git
a/src/shpub/Log.php
b/src/shpub/Log.php
index 99d9694909473df853671d893a47005564515b49..7b9dc719897f3259d2419e53e167a4d55a0f0c4d 100644
(file)
--- a/
src/shpub/Log.php
+++ b/
src/shpub/Log.php
@@
-3,6
+3,16
@@
namespace shpub;
class Log
{
+ public static function info($msg)
+ {
+ echo $msg . "\n";
+ }
+
+ public static function msg($msg)
+ {
+ echo $msg . "\n";
+ }
+
public static function err($msg)
{
file_put_contents('php://stderr', $msg . "\n", FILE_APPEND);