How to use tinylog in Eclipse plugin [message #1826627] |
Mon, 27 April 2020 20:19  |
Eclipse User |
|
|
|
I am writing an Eclipse plugin and want to use tinylog in my plugin code. I tried this:
1). modified Eclipse config file (eclipse.ini) to add this line: -Dtinylog.configuration=C:\eclipse-cpp-2018-09-win32-x86_64\eclipse\tinylog.properties
2). content of tinylog.properties:
writer = file
writer.level = debug
writer.file = C:\eclipse-cpp-2018-09-win32-x86_64\eclipse\log.txt
writer.charset = UTF-8
writer.append = true
writer.buffered = true
In fact, not just tinylog in my plugin. I tried umlet Eclipse Plugin (https://www.umlet.com/. The plugin uses slf4j API and lib. I made its logging stmt executed (verified by JOptionPane popup). I couldn't find and file being created.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.16435 seconds