New implementation uses log4j if available and switch to java.util.logging otherwise.
It is also possible to specify a startup variable: -Dorg.granite.logger.impl=path.to.MyLogger.
Note that MyLogger must extend org.granite.logging.Logger and have a public constructor with this signature:
public MyLogger(String name, LoggingFormatter formatter).
Franck Wolff added a comment - 05/Aug/08 04:05 PM New implementation uses log4j if available and switch to java.util.logging otherwise.
It is also possible to specify a startup variable: -Dorg.granite.logger.impl=path.to.MyLogger.
Note that MyLogger must extend org.granite.logging.Logger and have a public constructor with this signature:
public MyLogger(String name, LoggingFormatter formatter).
It is also possible to specify a startup variable: -Dorg.granite.logger.impl=path.to.MyLogger.
Note that MyLogger must extend org.granite.logging.Logger and have a public constructor with this signature:
public MyLogger(String name, LoggingFormatter formatter).