org.objectweb.util.monolog.wrapper.log4j

Class PatternConverter

Implemented Interfaces:
Pattern

public class PatternConverter
extends java.lang.Object
implements Pattern

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

Author:
Sebastien Chassande-Barrioz

Fields inherited from interface org.objectweb.util.monolog.file.api.Pattern

DATE, LEVEL, LINE_NUMBER, MESSAGE, METHOD, NEW_LINE, OBJECT, PREFIX, THREAD, TOPIC

Method Summary

static String
log4j2monolog(String p)
static String
monolog2log4j(String p)

Method Details

log4j2monolog

public static String log4j2monolog(String p)


monolog2log4j

public static String monolog2log4j(String p)