eliminate warnings from t/001-examples/006-logger.t under Perl 5.18

Adds the following line in a couple of places to eliminate warnings:

```
no if $] >= 5.017011, warnings => 'experimental::smartmatch';
```