public LogEngine getLog(Class<?> class1) { return getInstance(class1); }
/** * Convenience method to derive a name from the specified class and * call <code>getInstance(String)</code> with it. * * @param clazz Class for which a suitable Log name will be derived * @return The current log engine * */ public LogEngine getInstance(Class<?> clazz) { return getInstance(clazz.getCanonicalName()); }
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(); }