Log4net is a tool for logging statements to various outputs. It is based on the popular log4j framework and ports it to the .NET runtime. Log4net allows output to multiple targets like databases, files, and consoles. It is configured using an XML file and has a proven architecture based on log4j.