Class Logger

  • Direct Known Subclasses:
    Slf4jLogger

    public class Logger
    extends Object
    A simple but extensible logging interface that dumps messages to the "standard" output streams by default.
    Author:
    Samuel Audet
    • Field Detail

      • debug

        static boolean debug
    • Constructor Detail

      • Logger

        public Logger()
    • Method Detail

      • isDebugEnabled

        public boolean isDebugEnabled()
        Returns the "org.bytedeco.javacpp.logger.debug" system property.
      • isInfoEnabled

        public boolean isInfoEnabled()
        Returns true.
      • isWarnEnabled

        public boolean isWarnEnabled()
        Returns true.
      • isErrorEnabled

        public boolean isErrorEnabled()
        Returns true.
      • debug

        public void debug​(String s)
        Calls System.err.println("Debug: " + s).
      • info

        public void info​(String s)
        Calls System.err.println("Info: " + s).
      • warn

        public void warn​(String s)
        Calls System.err.println("Warning: " + s).
      • error

        public void error​(String s)
        Calls System.err.println("Error: " + s).