Tabnine Logo
LogFactory.getParameterMapper
Code IndexAdd Tabnine to your IDE (free)

How to use
getParameterMapper
method
in
de.mhus.lib.core.logging.LogFactory

Best Java code snippets using de.mhus.lib.core.logging.LogFactory.getParameterMapper (Showing top 3 results out of 315)

origin: de.mhus.lib/mhu-lib-core

if (logFactory.getParameterMapper() != null && logFactory.getParameterMapper() instanceof MutableParameterMapper) {
  try {
    Collection<IConfig> mappers = system.getNodes(MConstants.PROP_LOG_PARAMETER_MAPPER_CLASS);
    if (mappers.size() > 0) ((MutableParameterMapper)logFactory.getParameterMapper()).clear();
    for (IConfig mapper : mappers) {
      String name = mapper.getString("name");
      String clazz = mapper.getString("class");
      if (MString.isSet(name) && MString.isSet(clazz))
        ((MutableParameterMapper)logFactory.getParameterMapper()).put(name, (ParameterEntryMapper) Class.forName(clazz.trim()).newInstance() );
origin: de.mhus.lib/mhu-lib-core

public void update() {
  engine = MApi.get().getLogFactory().getInstance(getName());
  localTrace = MApi.isTrace(name);
  levelMapper = MApi.get().getLogFactory().getLevelMapper();
  parameterMapper = MApi.get().getLogFactory().getParameterMapper();
  maxMsgSize = MApi.get().getLogFactory().getMaxMessageSize();
}
origin: de.mhus.lib/mhu-lib-karaf

System.out.println("   Configurtion: " + ((TrailLevelMapper)lm).doSerializeTrail() );
if (api.getLogFactory().getParameterMapper() != null)
System.out.println("ParameterMapper: " + api.getLogFactory().getParameterMapper().getClass().getSimpleName());
de.mhus.lib.core.loggingLogFactorygetParameterMapper

Popular methods of LogFactory

  • getLevelMapper
  • getMaxMessageSize
  • setDefaultLevel
  • setLevelMapper
  • setMaxMessageSize
  • createInstance
    Construct and return a Log instance, using the factory's current set of configuration attributes. N
  • getDefaultLevel
  • getInstance
    Construct (if necessary) and return a Log instance, using the factory's current set of configuration
  • init
  • setParameterMapper

Popular in Java

  • Updating database using SQL prepared statement
  • getApplicationContext (Context)
  • findViewById (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • JFrame (javax.swing)
  • Github Copilot alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now