Java Natural Logging

Here are a number of different classes to help with Java logging. I use logging a lot, and wanted loggers to be easier to create and use, to have line numbers from the calling methods, to have only the message displayed, to only log at given levels (not all above some level), and to send logging messages to syslogd. Here they all are.

JavaLN A class that gets all calling method names automatically, easing the use of logging.
LineNumberFormatter Add method line numbers to logging.
NullFormatter Print only the message, not the time, level, etc.
LevelSetFilter Print only message from a set of levels, not all greater than some level as is the default.
DatagramStream Send a message to syslogd listening to the UDP port (typically 514) on a host (typically localhost)
DomainSocketStream Send a message to syslogd listening to a Unix domain socket.
CLIStream Send message via the command line interface "logger" command.
SyslogdFormatter Format a message so that it is acceptable to syslogd.
CLIFormatter Format a message so that it is acceptable to the UNIX command line interface "logger" command.
SocketFormatter Format a message so that it is acceptable to either a DatagramStream or a DomainSocketStream.

The JAR file with both source and classes can be found at: http://sourceforge.net/projects/javaln/