资 源 简 介
Introduction
Logging4ME is a logging framework for J2ME platform.
Main features:
Easy programmatic configuration
Hierarchical loggers based on categories (Java packages, keywords, ...).
Additivity configuration.
Threshold logging level configurable on appender
Extensible and customizable appenders, layouts: Interface based.
Lightweight and optimized for any J2ME or Android application
Provided appenders: ConsoleAppender and J2ME FileAppender
Provided layouts: SimpleLayout, PatternLayout, ...
Getting started
```
public class BasicService {
private static final Logger logger = LoggerFactory.getLogger("BASIC_SERVICE");
private BasicService() {
super();
}
public void doSomething() {
if (logger.isDebugEnabled()) {
logger.debug("Some debug information to log");
}
}
}
```
Configuratio