This content has been marked as final.
Show 2 replies
-
1. Re: Inject Log or Logging.getLogProvider
thejavafreak Sep 16, 2008 1:51 PM (in response to nimo22)There is no difference really. Because under the hood the second example will run the first example eventually. Though the second example is less verbose and safer for refactoring.
-
2. Re: Inject Log or Logging.getLogProvider
pmuir Sep 20, 2008 9:18 PM (in response to nimo22)LogProvider doesn't provide interpretation of parameters or EL in the log statement (whilst Log does) - you can access either using Logging.getLogProvider() or Logging.getLog().