logback-android/src/main/java/ch/qos/logback/core/util/StatusListenerConfigHelper.java
static public void addOnConsoleListenerInstance(Context context, OnConsoleStatusListener onConsoleStatusListener) {
    onConsoleStatusListener.setContext(context);
    boolean effectivelyAdded = context.getStatusManager().add(onConsoleStatusListener);
    if (effectivelyAdded) {
      onConsoleStatusListener.start();
    }
  }
static public void addOnConsoleListenerInstance(Context context, OnConsoleStatusListener onConsoleStatusListener) {
    onConsoleStatusListener.setContext(context);
    boolean effectivelyAdded = context.getStatusManager().add(onConsoleStatusListener);
    if (effectivelyAdded) {
      onConsoleStatusListener.start();
    }
  }
This utility method adds a new OnConsoleStatusListener to the context
passed as parameter.

@param context
@since 1.0.1