Class AMXDebugHelper


  • public final class AMXDebugHelper
    extends Object
    Convenient wrapper around AMXDebug. Can be made non-final if necessary; declared as 'final' until needed. Note that the "-DAMX-DEBUG=true" must be set in order to see any output.
    • Constructor Detail

      • AMXDebugHelper

        public AMXDebugHelper​(String name)
      • AMXDebugHelper

        public AMXDebugHelper()
    • Method Detail

      • getEchoToStdOut

        public boolean getEchoToStdOut()
      • setEchoToStdOut

        public void setEchoToStdOut​(boolean echo)
      • getDebug

        public boolean getDebug()
      • setDebug

        public void setDebug​(boolean debug)
      • println

        public void println​(Object o)
      • println

        public void println()
      • println

        public void println​(Object... items)
        This form is preferred for multiple arguments so that String concatenation can be avoided when no message will actually be output. For example, use:
        println( a, b, c)
        instead of:
        println( a + b + c )
      • dumpStack

        public void dumpStack​(String msg)