logback-android/src/main/java/ch/qos/logback/core/pattern/util/AsIsEscapeUtil.java
public void escape(String escapeChars, StringBuffer buf, char next,
                     int pointer) {
    // restitute the escape char (because it was consumed
    // before this method was called).
    buf.append("\\");
    // restitute the next character
    buf.append(next);
  }
public void escape(String escapeChars, StringBuffer buf, char next,
                     int pointer) {
    // restitute the escape char (because it was consumed
    // before this method was called).
    buf.append("\\");
    // restitute the next character
    buf.append(next);
  }
Do not perform any character escaping.
<p>
Note that this method assumes that it is called after the escape character
has been consumed.