code: public LoggingScope getNewLoggingScope(final String msg, final Object[] params) {
      return new LoggingScopeImpl(LOG, logLevel, msg, params);
    }
docs: Get a new instance of LoggingScope with msg and params through new.
  @param msg
  @param params
  @return