mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-06 12:43:58 +00:00
- Introduce thread-safe ASEventLog - ASCollectionNode and ASTableNode share their event log with their ASDataController. The controller uses it to log change set submitting and finishing events. - ASCollectionNode and ASTableNode print their data source and delegate in their debug description.
26 lines
677 B
Objective-C
26 lines
677 B
Objective-C
//
|
|
// ASEventLog.h
|
|
// AsyncDisplayKit
|
|
//
|
|
// Created by Huy Nguyen on 4/11/16.
|
|
//
|
|
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved.
|
|
// This source code is licensed under the BSD-style license found in the
|
|
// LICENSE file in the root directory of this source tree. An additional grant
|
|
// of patent rights can be found in the PATENTS file in the same directory.
|
|
//
|
|
|
|
#ifndef ASEVENTLOG_CAPACITY
|
|
#define ASEVENTLOG_CAPACITY 20
|
|
#endif
|
|
|
|
#ifndef ASEVENTLOG_ENABLE
|
|
#define ASEVENTLOG_ENABLE 1
|
|
#endif
|
|
|
|
@interface ASEventLog : NSObject
|
|
|
|
- (void)logEventWithBacktrace:(NSArray<NSString *> *)backtrace format:(NSString *)format, ... NS_FORMAT_FUNCTION(2, 3);
|
|
|
|
@end
|