Skip to content
greggwon edited this page Aug 28, 2013 · 2 revisions

As a long time Java developer, I've always used java.util.logging log services because it's what I used first, and after looking at log4j, I could not see any reason to add another Jar file to drag around with my applications, just for logging. So, when I needed to do some c#/.net development, I was first confronted with the fact that there was no Logging services available, in the platform. I saw references to log4net, and went looking for it. I tried it, and it failed the "easy start" test, with the need to have configuration just to get started.

I also prefer to see logging output in a line that looks like what StreamFormatter, in this package creates. In the end, I decided I'd really like to just have something that I could use without constantly asking "why" about what I was having to do, to use it.

So, here is NetLog, a logging package patterned off of the java.util.logging APIs. It's by no means a complete implementation, but it does, in fact have most all of that functionality which I use, and perhaps some "bugs" that need to be fixed to bring it more in line with how others might use java.util.logging.

Check out:

  • The Handler page for more information on what handlers are provided.
  • The NetLogMonitor page for information on monitoring logging remotely.
  • The StreamFormatter page for information on the default Formatter implementation.
Clone this wiki locally