Content deleted Content added
Line 79:
=== Feature comparison ===
{| class="wikitable"
|+ '''Table 1 - Features'''
! Framework
! Type
! Supported
! Standard
! Popularity
! Cost /
|-
! [[Log4J]]
| Logging Framework
| <code>FATAL ERROR WARN INFO DEBUG TRACE</code>
| Too many to list: See [http://logging.apache.org/log4j/2.x/manual/appenders.html Appender Documentation]
| Widely used in many projects and platforms
| <div style="width: 20em;">Apache License, Version 2.0 </div>
|-
! [http://java.sun.com/javase/6/docs/technotes/guides/logging/ Java Logging API]
| Logging Framework
| <code>SEVERE WARNING INFO CONFIG FINE FINER FINEST</code>
| Sun's default Java Virtual Machine (JVM) has the following: ConsoleHandler, FileHandler, SocketHandler, MemoryHandler
|
| Comes with the JRE
|-▼
! [http://www.tinylog.org/ tinylog]▼
| Logging Framework
| <code>ERROR WARNING INFO DEBUG TRACE</code>▼
| ConsoleWriter, FileWriter, LogcatWriter, JdbcWriter, RollingFileWriter, SharedFileWriter and ''null'' (discards all log entries) <ref>{{cite web|title=User manual of tinylog|url=http://www.tinylog.org/user-manual}}</ref> ▼
| ▼
| Apache License, Version 2.0|-▼
|-▼
! [http://logback.qos.ch/ Logback]▼
| Logging Framework
| Too many to list: see [http://logback.qos.ch/apidocs/ch/qos/logback/core/Appender.html Appender JavaDoc]▼
| Developed as a replacement for log4j, with many improvements.
| [[LGPL]], Version 2.1▼
|-
! [[Apache Commons Logging]]
| Logging Wrapper
▲| FATAL ERROR WARN INFO DEBUG TRACE
| <code>FATAL ERROR WARN INFO DEBUG TRACE</code>▼
| Depends on the underlying framework
| Widely used, often in conjunction with log4j
Line 105 ⟶ 123:
|-
! [[SLF4J]]
| Logging Wrapper
▲| ERROR WARN INFO DEBUG TRACE
| <code>ERROR WARN INFO DEBUG TRACE</code>▼
| Depends on the underlying framework, which is pluggable. Provides API compatible [[Shim_(computing)|shims]] for JCL, JDK and log4j logging packages. It can also use any of them to generate output. Defaults to using Logback for output if available.
| Widely used in many projects and platforms, typically in conjunction with slf4j.
| [[MIT License]]
▲|-
▲! [http://www.tinylog.org/ tinylog]
▲| ERROR WARNING INFO DEBUG TRACE
▲| ConsoleWriter, FileWriter, LogcatWriter, JdbcWriter, RollingFileWriter, SharedFileWriter and ''null'' (discards all log entries) <ref>{{cite web|title=User manual of tinylog|url=http://www.tinylog.org/user-manual}}</ref>
▲|
▲| Apache License, Version 2.0
▲|-
▲! [http://logback.qos.ch/ Logback]
▲| ERROR WARN INFO DEBUG TRACE
▲| Too many to list: see [http://logback.qos.ch/apidocs/ch/qos/logback/core/Appender.html Appender JavaDoc]
▲| Developed as a replacement for log4j, with many improvements. It is used by many projects, typically behind slf4j, such as [[Akka (toolkit)|Akka]], [[Apache Camel]], [[Apache Cocoon]], [[Artifactory]], [[Gradle]], [[Lift (web framework)|Lift Framework]], [[Play Framework]], [[Scalatra]], [[SonarQube]], etc...
▲| [[LGPL]], Version 2.1
|}
|