X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=liblttng-ust-jul%2Forg%2Flttng%2Fust%2Fjul%2FLTTngLogHandler.java;h=ddeb5eb3b36e9e04cba608cbd0a17539a948c265;hb=87d64abb45c7e1a47606b60570a8768489b51d96;hp=b4e1c088423a5a2e68f491b07ff9c24c528c97f7;hpb=d099b3340db2a8cad810a2c096592df6d2bed75e;p=lttng-ust.git diff --git a/liblttng-ust-jul/org/lttng/ust/jul/LTTngLogHandler.java b/liblttng-ust-jul/org/lttng/ust/jul/LTTngLogHandler.java index b4e1c088..ddeb5eb3 100644 --- a/liblttng-ust-jul/org/lttng/ust/jul/LTTngLogHandler.java +++ b/liblttng-ust-jul/org/lttng/ust/jul/LTTngLogHandler.java @@ -83,6 +83,14 @@ public class LTTngLogHandler extends Handler { } } + /* + * Cleanup this handler state meaning put it back to a vanilla state. + */ + public void clear() { + this.eventMap.clear(); + this.logLevelsAll.clear(); + } + @Override public void close() throws SecurityException {}