Class LogParameters.Builder

java.lang.Object
com.twilio.voice.LogParameters.Builder
Enclosing class:
LogParameters

public static class LogParameters.Builder extends Object
  • Field Details

    • file

      @NonNull public String file
  • Constructor Details

    • Builder

      public Builder(@NonNull LogLevel level, @NonNull String tag, @NonNull String message)
      Use this Builder object to create a LogParameters object. Module defaults to LogModule.PLATFORM. File and function parameters default to empty strings and line number defaults to zero. The current time is used as the timestamp parameter and the current thread's name is used as the thread parameter.
      Parameters:
      level - LogLevel at which this log message was generated. Must not be null.
      tag - String tag metadata. Must not be null.
      message - Log message text. Must not be null.
  • Method Details