mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00

git-subtree-dir: submodules/MtProtoKit git-subtree-mainline: 3b155750f5a4894ff3dedf1860a37e94e0ea9571 git-subtree-split: 14ab734b977fd4f1686a2a13415f6a4c9b9fdd6d
24 lines
432 B
Objective-C
24 lines
432 B
Objective-C
|
|
|
|
#ifndef MTLogging_H
|
|
#define MTLogging_H
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
bool MTLogEnabled();
|
|
void MTLog(NSString *format, ...);
|
|
void MTShortLog(NSString *format, ...);
|
|
void MTLogSetLoggingFunction(void (*function)(NSString *, va_list args));
|
|
void MTLogSetShortLoggingFunction(void (*function)(NSString *, va_list args));
|
|
void MTLogSetEnabled(bool);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|