Release of Logging4ME library in version 1.0.2

  • Français

Logging4ME has been released in version 1.0.2 and now proposes a new feature to configure the logging system through an XML configuration file and Kxml.

Here is an XML sample to configure Loggging4ME :

<?xml version="1.0" encoding="UTF-8" ?>

<logging4me xmlns="http://logging4me.helyx.org/logging4me-1.0.0.xsd" thresholdLevel="DEBUG" debugMode="false">

	<!-- Layouts -->
	<layout name="pl" class="org.helyx.logging4me.layout.pattern.PatternLayout">
		<property name="pattern" value="|%T|%L|%C|%D{yyyy/MM/dd, HH:mm:ss.ZZ}| " />
	</layout>

	<!-- Appenders -->
	<appender name="console" class="org.helyx.logging4me.appender.ConsoleAppender">
		<property name="thresholdLevel" value="INFO" />
		<property name="layout" value="pl" />
	</appender>

	<category name="org.helyx.logging4me" level="DEBUG" />

</logging4me>

Java code sample to configure logging4me using XML:

		LoggerConfigurer loggerConfigurer = new XmlConfigurer(&quot;/org/helyx/logging4me/test/logging4me.xml&quot;);
		loggerConfigurer.configure();

Project Links:

If you want to use this library for your developments, do not hesitate to let me know your feedback by mail, via the bugtracker or the comments of the blog.

  • Digg
  • Technorati
  • Twitter
  • del.icio.us
  • Facebook
  • LinkedIn
  • Mixx
  • Google Bookmarks
  • Netvibes
  • Wikio FR
  • Yahoo! Buzz
  • Reddit
  • StumbleUpon
  • Print
  • email