public ZeroDelimitedClassicJsonMultiplexSocketAppender() { super(new ZeroDelimitedWriteByteStrategy()); transformingEncoder = new TransformingEncoder(); transformingEncoder.setLilithEncoder(new LoggingJsonEncoder(false)); setEncoder(transformingEncoder); includeCallerData = true; setPort(DEFAULT_PORT); }
protected void uuidChanged() { transformingEncoder.setUUID(getUUID()); }
protected void applicationIdentifierChanged() { transformingEncoder.setApplicationIdentifier(getApplicationIdentifier()); }