public function invoke(Joinpoint $joinpoint)
{
$reflection = $joinpoint->getStaticPart();
$reflectorName = 'unknown';
if ($reflection && method_exists($reflection, 'getName')) {
$reflectorName = $reflection->getName();
}
$adviceMethod = $this->adviceMethod;
$adviceMethod($joinpoint->getThis(), $reflectorName, $this->message, $this->level);
return $joinpoint->proceed();
}