andengine.util.DebugLevel.IsSameOrLessThan C# (CSharp) Method

IsSameOrLessThan() public method

public IsSameOrLessThan ( DebugValueEnum DebugValue ) : bool
DebugValue DebugValueEnum
return bool
        public bool IsSameOrLessThan(DebugValueEnum DebugValue)
        {
            return (this.DebugValue <= DebugValue);
        }
    }

Same methods

DebugLevel::IsSameOrLessThan ( DebugLevel otherDebugLevel ) : bool

Usage Example

Example #1
0
        //public static void v(/* final */ System.String pMessage, /* final */ Throwable pThrowable) { v(new Java.Lang.String(pMessage), pThrowable); }

        public static void V(/* final */ String pMessage, /* final */ Throwable pThrowable)
        {
            if (DEBUGLEVEL.IsSameOrLessThan(DebugLevel.VERBOSE))
            {
                //Log.Verbose(DEBUGTAG, pMessage, pThrowable);
                Log.Verbose(DEBUGTAG, pThrowable, pMessage);
            }
        }