public static RuleSet getMatcherImpl ( int conversionType ) { switch ( conversionType ) { case Constant . JCL_TO_SLF4J : return new JCLRuleSet ( ) ; case Constant . LOG4J_TO_SLF4J : return new Log4jRuleSet ( ) ; case Constant . JUL_TO_SLF4J : return new JULRuleSet ( ) ; case Constant . NOP_TO_SLF4J : return new EmptyRuleSet ( ) ; default : return null ; } }
Return matcher implementation depending on the conversion mode