BBGamelib.CCDebug.Log C# (CSharp) Method

Log() public static method

public static Log ( string format ) : void
format string
return void
		public static void Log(string format, params object[] args){
			if (COCOS2D_DEBUG > 0){
				if(args.Length > 0)
					Debug.LogFormat (format, args);
				else
					Debug.Log(format);
			}
		}
		public static void Warning(string format, params object[] args){

Usage Example

 //reset winsize when resolution changed
 public void resetWinSize()
 {
     if (_view != null)
     {
         _winSizeInPixels = _view.bounds.size;
         CCDebug.Log("cocos2d: window size: {0}", winSize);
     }
 }
All Usage Examples Of BBGamelib.CCDebug::Log