protected function getCalleeClass()
    {

        if (PHP_VERSION_ID < 50205)
            $backtrace = debug_backtrace();
        else
            $backtrace = debug_backtrace(false);

        foreach ( $backtrace as $bt ) {
            // Making sure the class we're getting out of the backtrace is not a logger
            if (!is_a($this, $bt['class']) && strpos($bt['class'], 'Logger') === false) {
                return $bt['class'];
            }
        }

        return '';
    }
protected function getCalleeClass()
    {

        if (PHP_VERSION_ID < 50205)
            $backtrace = debug_backtrace();
        else
            $backtrace = debug_backtrace(false);

        foreach ( $backtrace as $bt ) {
            // Making sure the class we're getting out of the backtrace is not a logger
            if (!is_a($this, $bt['class']) && strpos($bt['class'], 'Logger') === false) {
                return $bt['class'];
            }
        }

        return '';
    }
protected function getCalleeClass ( ) { if ( PHP_VERSION_ID < 50205 ) $ backtrace = debug_backtrace ( ) ; else $ backtrace = debug_backtrace ( false ) ; foreach ( $ backtrace as $ bt ) { // Making sure the class we're getting out of the backtrace is not a logger if ( ! is_a ( $ this , $ bt [ 'class' ] ) && strpos ( $ bt [ 'class' ] , 'Logger' ) === false ) { return $ bt [ 'class' ] ; } } return '' ; }
Returns the name of the class that called the logger function

@return void
Returns the name of the class that called the logger function