400-881-9892

文档中心

官方文档,可查阅产品介绍、快速入门、用户指南、开发指南、API参考、SDK参考、帮助等信息。

文档中心 互动课堂

TKLogInfo

    The TKLogInfo class

    Description Type
    Inherits from NSObject
    Declared in TKRoomDefines.h
    Overview

    Log Print Information

    level

    LOG LEVEL @property (assign, nonatomic) TKLogLevel level;

    logPath

    The log needs to be written to the path in the sandbox; the default path is: Library/Caches/TKSDKLogs. @property (strong, nonatomic) NSString *logPath;

    isDebug

    Whether it is in debug mode: In debug mode, logs are printed to the console; in release mode, logs are not printed to the console. @property (assign, nonatomic) BOOL isDebug;

    logPrefix

    Log Prefix: When printing logs, a prefix is added at the beginning of the log. @property (strong, nonatomic) NSString *logPrefix;