mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-01-23 09:34:35 -05:00
Show all debug info when running with console attached.
This commit is contained in:
parent
ddba1b1838
commit
77c31f33bc
2 changed files with 1 additions and 12 deletions
|
@ -222,15 +222,11 @@ namespace ClassicalSharp {
|
|||
}
|
||||
|
||||
public static void LogDebug( string text ) {
|
||||
#if DEBUG
|
||||
Console.WriteLine( text );
|
||||
#endif
|
||||
}
|
||||
|
||||
public static void LogDebug( string text, params object[] args ) {
|
||||
#if DEBUG
|
||||
Console.WriteLine( String.Format( text, args ) );
|
||||
#endif
|
||||
}
|
||||
|
||||
public static int Floor( float value ) {
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
//#define DEBUG_OPENTK
|
||||
using System;
|
||||
using System;
|
||||
|
||||
namespace OpenTK {
|
||||
|
||||
|
@ -12,21 +11,15 @@ namespace OpenTK {
|
|||
}
|
||||
|
||||
public static void Print( string text ) {
|
||||
#if DEBUG_OPENTK
|
||||
Console.WriteLine( text );
|
||||
#endif
|
||||
}
|
||||
|
||||
public static void Print( object arg ) {
|
||||
#if DEBUG_OPENTK
|
||||
Console.WriteLine( arg );
|
||||
#endif
|
||||
}
|
||||
|
||||
public static void Print( string text, params object[] args ) {
|
||||
#if DEBUG_OPENTK
|
||||
Console.WriteLine( text, args );
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue