Files
chesskit-engine/Sources/ChessKitEngineCore/Logging/Logging.h
T
2023-04-15 11:18:52 -04:00

24 lines
459 B
Objective-C

//
// Logging.h
// ChessKitEngine
//
#ifndef Logging_h
#define Logging_h
#import <Foundation/Foundation.h>
#if __has_feature(objc_arc)
#define DLog(format, ...) CFShow((__bridge CFStringRef)[NSString stringWithFormat:format, ## __VA_ARGS__]);
#else
#define DLog(format, ...) CFShow([NSString stringWithFormat:format, ## __VA_ARGS__]);
#endif
@interface Logging : NSObject
+ (void)print: (NSString* _Nullable) message;
@end
#endif /* Logging_h */