commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Kitching <skitch...@apache.org>
Subject [logging] added diagnostics
Date Sun, 22 May 2005 10:48:18 GMT
Hi,

As you have probably seen from the commit messages, I have added
diagnostic output to LogFactory.java and LogFactoryImpl.java. I hope the
implementation meets with everyone's agreement; if not, I'll fix it.

You will note that in most places I have not bothered to put
  if (isDiagnosticsEnabled()) {
  }
around calls, even when strings are being concatenated. This is because
*none* of these calls are on the critical path. Diagnostics are only
ever output when a LogFactoryImpl is created for the first time, and I
can't see much benefit in optimising code that is called once per
classloader....

Regards,

Simon


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message