code: private void writeObject(final ObjectOutputStream s) throws IOException {
          s.defaultWriteObject();
          s.writeInt(level);
          s.writeInt(syslogEquivalent);
          s.writeUTF(levelStr);
      }
docs: Serialize level.
  @param s serialization stream.
  @throws IOException if exception during serialization.