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

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

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

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

/**
 * 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-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

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

public ZeroDelimitedClassicJsonMultiplexSocketAppender()
{
  super(new ZeroDelimitedWriteByteStrategy());
  transformingEncoder =new TransformingEncoder();
  transformingEncoder.setLilithEncoder(new LoggingJsonCodec(false));
  setEncoder(transformingEncoder);
  includeCallerData = true;
  setPort(DEFAULT_PORT);
}
de.huxhorn.lilith.data.logging.logbackTransformingEncodersetLilithEncoder

Popular methods of TransformingEncoder

  • <init>
  • setApplicationIdentifier
  • setUUID

Popular in Java

  • Creating JSON documents from java classes using gson
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • onRequestPermissionsResult (Fragment)
  • setScale (BigDecimal)
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • JFileChooser (javax.swing)
  • Runner (org.openjdk.jmh.runner)
  • Github Copilot alternatives
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