Package io.agora.rtm

Class RtmLogConfig

java.lang.Object
io.agora.rtm.RtmLogConfig

public class RtmLogConfig extends Object
rtm log configuration
  • Constructor Details

    • RtmLogConfig

      public RtmLogConfig()
      Creates a new instance of RtmLogConfig with default parameters.
    • RtmLogConfig

      public RtmLogConfig(String filePath, int fileSize, RtmConstants.RtmLogLevel level)
      Creates a new instance of RtmLogConfig with specifies parameters.
      Parameters:
      filePath - The log file path
      fileSize - The log file size, the default unit for log file size is KB
      level - The log level
  • Method Details

    • setFilePath

      public void setFilePath(String filePath)
    • setFileSize

      public void setFileSize(int fileSize)
    • setLevel

      public void setLevel(RtmConstants.RtmLogLevel level)
    • getFilePath

      public String getFilePath()
    • getFileSize

      public int getFileSize()
    • getLevel

      public int getLevel()
    • toString

      public String toString()
      Overrides:
      toString in class Object