There shouldn't be anything different, make sure you are using the correct 
import (org.slf4j), and have a look at the other places where we use logging.

Dominik




-----Original Message-----
From: Florian Micklich <[email protected]> 
Sent: Tuesday, November 22, 2022 8:01 PM
To: StreanPipes Dev <[email protected]>
Subject: How to add Logger output in processors

Hi, me again O:-),

I am wondering how to implement a logger output in the 1 class approach.
Is there an example somewhere of how to achieve this?

I tried following code but it is not working anymore.


Define a logger in the Class

```
private static final Logger LOG = 
LoggerFactory.getLogger(ReprojectionProcessor.class);
```

and then use the logger syntax as always in onInvocation or onEvent method.
```
LOG.warn("text text text.");
```

But there is no output at all.

Can some one help please?

Greetings
Florian

 

Reply via email to