TTLogManager Class Reference

Inherits from NSObject
Declared in TTLogManager.h

Overview

Use a TTLogManager instance to receive log message from TTKit.

  delegate

Set the delegate property to receive log messages.

@property (nonatomic, weak) id<TTLogDelegate> delegate

Declared In

TTLogManager.h

  userToken

The userToken you initalized TTLogManager with.

@property (nonatomic, readonly) NSString *userToken

Declared In

TTLogManager.h

– initWithUserToken:

Initialize a TTLogManager instance with the local user’s token.

- (instancetype)initWithUserToken:(NSString *)userToken

Parameters

userToken

user token.

Return Value

An TTLogManager Object.

Declared In

TTLogManager.h

– setLogLevelFlag:forComponentFlag:

Set the log and component levels as a filter for TTLogManager.

- (void)setLogLevelFlag:(TTLogLevelFlag)logLevelFlag forComponentFlag:(TTLogComponentFlag)componentFlag

Parameters

logLevelFlag

TTLogLevelFlag filter type.

componentFlag

TTLogComponentFlag filter type.

Declared In

TTLogManager.h