Class C4Log


  • public final class C4Log
    extends Object
    • Method Detail

      • logCallback

        public static void logCallback​(@NonNull
                                       String c4Domain,
                                       int c4Level,
                                       @NonNull
                                       String message)
      • setLevels

        public static void setLevels​(int level,
                                     @Nullable
                                     String... domains)
      • getCallbackLevel

        @NonNull
        public static LogLevel getCallbackLevel()
      • setCallbackLevel

        public static void setCallbackLevel​(@NonNull
                                            LogLevel consoleLevel)
      • forceCallbackLevel

        public static void forceCallbackLevel​(@NonNull
                                              LogLevel logLevel)
      • log

        public static void log​(String domain,
                               int level,
                               String message)
      • getBinaryFileLevel

        public static int getBinaryFileLevel()
      • setBinaryFileLevel

        public static void setBinaryFileLevel​(int level)
      • writeToBinaryFile

        public static void writeToBinaryFile​(String path,
                                             int level,
                                             int maxRotateCount,
                                             long maxSize,
                                             boolean usePlaintext,
                                             String header)
      • getLevel

        public static int getLevel​(String domain)