Class Log


  • public class Log
    extends Object
    This class handles logging information.
    • Constructor Detail

      • Log

        public Log()
    • Method Detail

      • getInstance

        public static Log getInstance()
        Returns:
      • closeHandlers

        public static void closeHandlers()
      • resetLogger

        public static void resetLogger()
      • EnableConsoleLogging

        public static void EnableConsoleLogging​(Boolean enable)
        Parameters:
        enable -
      • setLogLevel

        public static void setLogLevel​(Level level)
        Parameters:
        level -
      • getLogLevel

        public static String getLogLevel()
      • getLoggerLevel

        public static Level getLoggerLevel()
      • getLogNodeLevel

        public static Level getLogNodeLevel()
      • getLogRestLevel

        public static Level getLogRestLevel()
      • getLogWalletLevel

        public static Level getLogWalletLevel()
      • log

        public static void log​(Level level,
                               String message)
        Append to application log LOGGER
        Parameters:
        level -
        message -
      • log

        public static void log​(Level level,
                               String message,
                               FixedParameters.LogType logType)
        Append to specific application log
        Parameters:
        level -
        message -
        logType -
      • logStacktrace

        public static void logStacktrace​(Level level,
                                         Exception ex)
        Append exception to application log LOGGER
        Parameters:
        level -
        ex -
      • logStacktrace

        public static void logStacktrace​(Level level,
                                         Exception ex,
                                         FixedParameters.LogType logType)
        Append exception to specific application log
        Parameters:
        level -
        ex -
        logType -