protected function printLog($sMessage)
    {
        $oDate = new \DateTime();
        echo $oDate->format('H:i:s')."\t{$sMessage}".PHP_EOL;
        return '('.$oDate->format('H:i:s').') '.preg_replace(
            '#(\[[0-9]+m)#',
            '',
            $sMessage
        );
    }
protected function printLog($sMessage)
    {
        $oDate = new \DateTime();
        echo $oDate->format('H:i:s')."\t{$sMessage}".PHP_EOL;
        return '('.$oDate->format('H:i:s').') '.preg_replace(
            '#(\[[0-9]+m)#',
            '',
            $sMessage
        );
    }
protected function printLog ( $ sMessage ) { $ oDate = new \ DateTime ( ) ; echo $ oDate -> format ( 'H:i:s' ) . "\t{$sMessage}" . PHP_EOL ; return '(' . $ oDate -> format ( 'H:i:s' ) . ') ' . preg_replace ( '#(\[[0-9]+m)#' , '' , $ sMessage ) ; }
Print message to console
@param string $sMessage Message to print
@return string Message with time
Print message to console