Tabnine Logo
TransformingEncoder
Code IndexAdd Tabnine to your IDE (free)

How to use
TransformingEncoder
in
de.huxhorn.lilith.data.logging.logback

Best Java code snippets using de.huxhorn.lilith.data.logging.logback.TransformingEncoder (Showing top 18 results out of 315)

origin: de.huxhorn.lilith/de.huxhorn.lilith.logback.appender.multiplex-classic

@Override
protected void applicationIdentifierChanged()
{
  transformingEncoder.setApplicationIdentifier(getApplicationIdentifier());
}
origin: de.huxhorn.lilith/de.huxhorn.lilith.logback.appender.multiplex-classic-json

@Override
protected void uuidChanged()
{
  transformingEncoder.setUUID(getUUID());
}
origin: de.huxhorn.lilith/de.huxhorn.lilith.logback.appender.multiplex-classic-xml

public ZeroDelimitedClassicXmlMultiplexSocketAppender()
{
  super(new ZeroDelimitedWriteByteStrategy());
  transformingEncoder =new TransformingEncoder();
  transformingEncoder.setLilithEncoder(new LoggingXmlEncoder(false));
  setEncoder(transformingEncoder);
  includeCallerData = true;
  setPort(DEFAULT_PORT);
}
origin: de.huxhorn.lilith/de.huxhorn.lilith.logback.appender.multiplex-classic-json

@SuppressWarnings("WeakerAccess")
public ClassicJsonMultiplexSocketAppender(boolean compressing)
{
  super();
  usingDefaultPort = true;
  transformingEncoder = new TransformingEncoder();
  setEncoder(transformingEncoder);
  setCompressing(compressing);
  includeCallerData = false;
}
origin: de.huxhorn.lilith/de.huxhorn.lilith.logback.appender.multiplex-classic

/**
 * GZIPs the event if set to true.
 *
 * Automatically chooses the correct default port if it was not previously set manually.
 *
 * @param compressing if events will be gzipped or not.
 */
public void setCompressing(boolean compressing)
{
  if(usingDefaultPort)
  {
    if(compressing)
    {
      setPort(COMPRESSED_DEFAULT_PORT);
    }
    else
    {
      setPort(UNCOMPRESSED_DEFAULT_PORT);
    }
    usingDefaultPort = true;
  }
  transformingEncoder.setLilithEncoder(new LoggingEventProtobufCodec(compressing));
}
origin: de.huxhorn.lilith/de.huxhorn.lilith.logback.appender.multiplex-classic-json

public ZeroDelimitedClassicJsonMultiplexSocketAppender()
{
  super(new ZeroDelimitedWriteByteStrategy());
  transformingEncoder =new TransformingEncoder();
  transformingEncoder.setLilithEncoder(new LoggingJsonCodec(false));
  setEncoder(transformingEncoder);
  includeCallerData = true;
  setPort(DEFAULT_PORT);
}
origin: de.huxhorn.lilith/de.huxhorn.lilith.logback.appender.multiplex-classic

public ClassicMultiplexSocketAppender(boolean compressing)
{
  super();
  usingDefaultPort = true;
  transformingEncoder = new TransformingEncoder();
  setEncoder(transformingEncoder);
  setCompressing(compressing);
  includeCallerData = false;
}
origin: de.huxhorn.lilith/de.huxhorn.lilith.logback.appender.multiplex-classic-json

/**
 * GZIPs the event if set to true.
 *
 * Automatically chooses the correct default port if it was not previously set manually.
 *
 * @param compressing if events will be gzipped or not.
 */
public void setCompressing(boolean compressing)
{
  if(usingDefaultPort)
  {
    if(compressing)
    {
      setPort(COMPRESSED_DEFAULT_PORT);
    }
    else
    {
      setPort(UNCOMPRESSED_DEFAULT_PORT);
    }
    usingDefaultPort = true;
  }
  transformingEncoder.setLilithEncoder(new LoggingJsonCodec(compressing));
}
origin: de.huxhorn.lilith/de.huxhorn.lilith.logback.appender.multiplex-classic

@Override
protected void uuidChanged()
{
  transformingEncoder.setUUID(getUUID());
}
origin: de.huxhorn.lilith/de.huxhorn.lilith.logback.appender.multiplex-classic-json

@Override
protected void applicationIdentifierChanged()
{
  transformingEncoder.setApplicationIdentifier(getApplicationIdentifier());
}
origin: de.huxhorn.lilith/de.huxhorn.lilith.logback.appender.multiplex-classic-xml

@SuppressWarnings("WeakerAccess")
public ClassicXmlMultiplexSocketAppender(boolean compressing)
{
  super();
  usingDefaultPort = true;
  transformingEncoder = new TransformingEncoder();
  setEncoder(transformingEncoder);
  setCompressing(compressing);
  includeCallerData = false;
}
origin: de.huxhorn.lilith/de.huxhorn.lilith.logback.appender.multiplex-classic-xml

/**
 * GZIPs the event if set to true.
 *
 * Automatically chooses the correct default port if it was not previously set manually.
 *
 * @param compressing if events will be gzipped or not.
 */
public void setCompressing(boolean compressing)
{
  if(usingDefaultPort)
  {
    if(compressing)
    {
      setPort(COMPRESSED_DEFAULT_PORT);
    }
    else
    {
      setPort(UNCOMPRESSED_DEFAULT_PORT);
    }
    usingDefaultPort = true;
  }
  transformingEncoder.setLilithEncoder(new LoggingXmlEncoder(compressing));
}
origin: de.huxhorn.lilith/de.huxhorn.lilith.logback.appender.multiplex-classic-xml

@Override
protected void uuidChanged()
{
  transformingEncoder.setUUID(getUUID());
}
origin: de.huxhorn.lilith/de.huxhorn.lilith.logback.appender.multiplex-classic-xml

@Override
protected void applicationIdentifierChanged()
{
  transformingEncoder.setApplicationIdentifier(getApplicationIdentifier());
}
origin: de.huxhorn.lilith/de.huxhorn.lilith.logback.appender.multiplex-classic-xml

@Override
protected void uuidChanged()
{
  transformingEncoder.setUUID(getUUID());
}
origin: de.huxhorn.lilith/de.huxhorn.lilith.logback.appender.multiplex-classic-xml

@Override
protected void applicationIdentifierChanged()
{
  transformingEncoder.setApplicationIdentifier(getApplicationIdentifier());
}
origin: de.huxhorn.lilith/de.huxhorn.lilith.logback.appender.multiplex-classic-json

@Override
protected void uuidChanged()
{
  transformingEncoder.setUUID(getUUID());
}
origin: de.huxhorn.lilith/de.huxhorn.lilith.logback.appender.multiplex-classic-json

@Override
protected void applicationIdentifierChanged()
{
  transformingEncoder.setApplicationIdentifier(getApplicationIdentifier());
}
de.huxhorn.lilith.data.logging.logbackTransformingEncoder

Most used methods

  • <init>
  • setApplicationIdentifier
  • setLilithEncoder
  • setUUID

Popular in Java

  • Making http requests using okhttp
  • getSharedPreferences (Context)
  • getResourceAsStream (ClassLoader)
  • getContentResolver (Context)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now