X-Git-Url: https://git.cweiske.de/shpub.git/blobdiff_plain/940e99e237daa66bbe9f5f07f5f6958dca12bd26..f3edeb601556e7741804b0c0bec2711996774bfe:/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);