Swiftgram/MTProtoKit/MTLogging.h
2017-02-02 18:58:11 +03:00

27 lines
511 B
Objective-C

/*
* This is the source code of Telegram for iOS v. 1.1
* It is licensed under GNU GPL v. 2 or later.
* You should have received a copy of the license in this archive (see LICENSE).
*
* Copyright Peter Iakovlev, 2013.
*/
#ifndef MTLogging_H
#define MTLogging_H
#import <Foundation/Foundation.h>
#ifdef __cplusplus
extern "C" {
#endif
bool MTLogEnabled();
void MTLog(NSString *format, ...);
void MTLogSetLoggingFunction(void (*function)(NSString *, va_list args));
#ifdef __cplusplus
}
#endif
#endif