Huy Nguyen fb6d1830a0 Beter table/collection update history (#2562)
- 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.
2016-11-08 16:44:49 -08:00

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