org.objectweb.util.monolog.wrapper.log4j
Class PatternConverter

java.lang.Object
  extended by org.objectweb.util.monolog.wrapper.log4j.PatternConverter
All Implemented Interfaces:
Pattern

public class PatternConverter
extends Object
implements Pattern

This tools class permits to convert the printing pattern between log4j and monolog.

Author:
Sebastien Chassande-Barrioz

Field Summary
 
Fields inherited from interface org.objectweb.util.monolog.file.api.Pattern
DATE, LEVEL, LINE_NUMBER, MESSAGE, METHOD, NEW_LINE, OBJECT, PREFIX, THREAD, TOKENS, TOPIC
 
Constructor Summary
PatternConverter()
           
 
Method Summary
static String log4j2monolog(String p)
           
static String monolog2log4j(String p)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatternConverter

public PatternConverter()
Method Detail

monolog2log4j

public static String monolog2log4j(String p)

log4j2monolog

public static String log4j2monolog(String p)


Copyright © 2012 OW2 Consortium. All Rights Reserved.