protected function logError($action, $message, $e)
    {
        Tlog::getInstance()->error(
            sprintf(
                'Error during Coupon ' . $action . ' process : %s. Exception was %s',
                $message,
                $e->getMessage()
            )
        );

        return $this;
    }
protected function logError($action, $message, $e)
    {
        Tlog::getInstance()->error(
            sprintf(
                'Error during Coupon ' . $action . ' process : %s. Exception was %s',
                $message,
                $e->getMessage()
            )
        );

        return $this;
    }
protected function logError ( $ action , $ message , $ e ) { Tlog :: getInstance ( ) -> error ( sprintf ( 'Error during Coupon ' . $ action . ' process : %s. Exception was %s' , $ message , $ e -> getMessage ( ) ) ) ; return $ this ; }
Log error message

@param string     $action  Creation|Update|Delete
@param string     $message Message to log
@param \Exception $e       Exception to log

@return $this
Log error message