You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extending the LazyLogging appends a "$" character to the end of the class name, as shown:
2020-05-18 14:50:33.096 [INFO] from [main] in c.c.xxxxx.logteste.traits.Teste$.testeLog:7 - INFO
2020-05-18 14:50:33.102 [WARN] from [main] in c.c.xxxxx.logteste.traits.Teste$.testeLog:8 - WARNING
2020-05-18 14:50:33.103 [ERROR] from [main] in c.c.xxxxx.logteste.traits.Teste$.testeLog:9 - ERROR
This "Teste" class is actually a simple scala object that I'm using to run some tests on scala-logging.
I didn't check but probably the same happens in StrictLogging.
I could solve this problem by creating my own logger object using the classOf[classnamehere] operator, but this way I couldn't make use of the LazyLogging.
I will try to the analyze the source code when I have free time but the issue is open if other people have any ideas on how to solve this.
The text was updated successfully, but these errors were encountered:
Extending the LazyLogging appends a "$" character to the end of the class name, as shown:
2020-05-18 14:50:33.096 [INFO] from [main] in c.c.xxxxx.logteste.traits.Teste$.testeLog:7 - INFO
2020-05-18 14:50:33.102 [WARN] from [main] in c.c.xxxxx.logteste.traits.Teste$.testeLog:8 - WARNING
2020-05-18 14:50:33.103 [ERROR] from [main] in c.c.xxxxx.logteste.traits.Teste$.testeLog:9 - ERROR
This "Teste" class is actually a simple scala object that I'm using to run some tests on scala-logging.
I didn't check but probably the same happens in StrictLogging.
I could solve this problem by creating my own logger object using the classOf[classnamehere] operator, but this way I couldn't make use of the LazyLogging.
I will try to the analyze the source code when I have free time but the issue is open if other people have any ideas on how to solve this.
The text was updated successfully, but these errors were encountered: