kernel/private/classes/ezpcontentpublishingprocess.php
private function logStatusChange( $status, $reason = null )
    {
        $contentObjectId = $this->version()->attribute( 'contentobject_id' );
        $versionNumber = $this->version()->attribute( 'version' );
        eZDebugSetting::writeDebug(
            'kernel-content-publish',
            sprintf(
                "process #%d, content %d.%d, status changed to %s (reason: %s)",
                $this->attribute( 'ezcontentobject_version_id' ),
                $contentObjectId,
                $versionNumber,
                $this->getStatusString( $status ),
                $reason ?: "none given"
            ),
            'Asynchronous publishing process status changed'
        );
    }
private function logStatusChange( $status, $reason = null )
    {
        $contentObjectId = $this->version()->attribute( 'contentobject_id' );
        $versionNumber = $this->version()->attribute( 'version' );
        eZDebugSetting::writeDebug(
            'kernel-content-publish',
            sprintf(
                "process #%d, content %d.%d, status changed to %s (reason: %s)",
                $this->attribute( 'ezcontentobject_version_id' ),
                $contentObjectId,
                $versionNumber,
                $this->getStatusString( $status ),
                $reason ?: "none given"
            ),
            'Asynchronous publishing process status changed'
        );
    }
private function logStatusChange ( $ status , $ reason = null ) { $ contentObjectId = $ this -> version ( ) -> attribute ( 'contentobject_id' ) ; $ versionNumber = $ this -> version ( ) -> attribute ( 'version' ) ; eZDebugSetting :: writeDebug ( 'kernel-content-publish' , sprintf ( "process #%d, content %d.%d, status changed to %s (reason: %s)" , $ this -> attribute ( 'ezcontentobject_version_id' ) , $ contentObjectId , $ versionNumber , $ this -> getStatusString ( $ status ) , $ reason ? : "none given" ) , 'Asynchronous publishing process status changed' ) ; }
Logs a debug message when the process' status is updated

@param string $status New status
@param null $reason Optional reason
Logs a debug message when the process status is updated