Class Log


  • public class Log
    extends Object
    • Constructor Detail

      • Log

        public Log​(Class<?> clazz)
      • Log

        public Log​(Class<?> clazz,
                   String yamcsInstance)
    • Method Detail

      • getJulLogger

        public Logger getJulLogger()
      • setContext

        public void setContext​(String context)
      • info

        public void info​(String msg)
      • isDebugEnabled

        public boolean isDebugEnabled()
      • debug

        public void debug​(String msg)
      • debug

        public void debug​(String msg,
                          Object... args)
      • isTraceEnabled

        public boolean isTraceEnabled()
      • trace

        public void trace​(String msg)
      • trace

        public void trace​(String msg,
                          Object... args)
      • warn

        public void warn​(String msg)
      • error

        public void error​(String msg)
      • error

        public void error​(String msg,
                          Object... args)
      • forceStandardStreams

        public static void forceStandardStreams​(Level level)
        Force all log message to be printed on stdout instead of the configured logger. This may be of use for short tests and scripts.