X-Git-Url: https://git.cweiske.de/shpub.git/blobdiff_plain/be472fa254f752d28b4254fc308d27c8057f2aab..c40d4e6c6349b98c90e8bbb79b361e08e60c0dba:/src/shpub/Log.php diff --git a/src/shpub/Log.php b/src/shpub/Log.php index 99d9694..7b9dc71 100644 --- 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);