Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Logging with substitution
Logging with substitution [message #992447] Fri, 21 December 2012 16:46 Go to next message
kon f is currently offline kon fFriend
Messages: 152
Registered: March 2012
Senior Member
Hey,

I'm trying to log some message with a substitution. The execution causes an IllegalArgumentException. I had a look in the source code and apparently I'm suppose to use {} as placeholder. So, I tried following code (as used from SLF4J Smile):

@Inject
private Logger log;

...

log.info("test: {}", "01");


Thank you!

Kon

[Updated on: Fri, 21 December 2012 16:46]

Report message to a moderator

Re: Logging with substitution [message #997365 is a reply to message #992447] Mon, 07 January 2013 07:25 Go to previous message
kon f is currently offline kon fFriend
Messages: 152
Registered: March 2012
Senior Member
Any suggestions? Am I doing it wrong?

Thank you!
Previous Topic:e(fx)clipse 0.8.0 - e4 for JavaFX
Next Topic:Product export jar not generated
Goto Forum:
  


Current Time: Sun Sep 22 12:08:24 GMT 2024

Powered by FUDForum. Page generated in 0.03339 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top