src/classes/CCError/Handler.php
protected function log()
	{
		if ( class_exists( 'CCLog' ) )
		{
			try {
				\CCLog::add( 
					$this->inspector->exception()->getMessage()." - ".
					str_replace( CCROOT, '', $this->inspector->exception()->getFile() ).":".
					$this->inspector->exception()->getLine(), 'exception'
				);
				\CCLog::write();
			} catch( \Exception $e ) {}
		}
	}
protected function log()
	{
		if ( class_exists( 'CCLog' ) )
		{
			try {
				\CCLog::add( 
					$this->inspector->exception()->getMessage()." - ".
					str_replace( CCROOT, '', $this->inspector->exception()->getFile() ).":".
					$this->inspector->exception()->getLine(), 'exception'
				);
				\CCLog::write();
			} catch( \Exception $e ) {}
		}
	}
protected function log ( ) { if ( class_exists ( 'CCLog' ) ) { try { \ CCLog :: add ( $ this -> inspector -> exception ( ) -> getMessage ( ) . " - " . str_replace ( CCROOT , '' , $ this -> inspector -> exception ( ) -> getFile ( ) ) . ":" . $ this -> inspector -> exception ( ) -> getLine ( ) , 'exception' ) ; \ CCLog :: write ( ) ; } catch ( \ Exception $ e ) { } } }
Try to log that something went wrong

@return void
Try to log that something went wrong