1 <?php
2
3 /**
4 * ArangoDB PHP Core Client: Basic Tracer Plugin
5 *
6 * @author Frank Mayer
7 * @copyright Copyright 2013-2015, FRANKMAYER.NET, Athens, Greece
8 */
9
10 namespace frankmayer\ArangoDbPhpCore\Plugins;
11
12
13 /**
14 * Class TracerPlugin
15 * @package frankmayer\ArangoDbPhpCore\Plugins
16 */
17 class TracerPlugin extends
18 Plugin
19 {
20
21 // Ignoring this for now, as we will revisit this later...
22 // @codeCoverageIgnoreStart
23 /**
24 * @param $eventName
25 * @param $client
26 * @param $eventData
27 *
28 * @return mixed|void
29 */
30 public function notify($eventName, $client, $eventData)
31 {
32 // todo 1 Frank Make basic tracer plugin
33 echo "tracing event (" . ($this->priority) . "):", $eventName, PHP_EOL;
34 }
35 // @codeCoverageIgnoreEnd
36 }
37