DailyView/Carthage/Checkouts/facebook-ios-sdk/FBSDKGamingServicesKit/FBSDKGamingServicesKitTests/Helpers/TestLogger.swift
2025-12-30 16:40:31 +08:00

27 lines
622 B
Swift

/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
* All rights reserved.
*
* This source code is licensed under the license found in the
* LICENSE file in the root directory of this source tree.
*/
@testable import FBSDKGamingServicesKit
import FBSDKCoreKit
final class TestLogger: GamingLogging {
var contents = ""
var loggingBehavior: LoggingBehavior
init(loggingBehavior: LoggingBehavior) {
self.loggingBehavior = loggingBehavior
}
static func singleShotLogEntry(_ loggingBehavior: LoggingBehavior, logEntry: String) {}
func logEntry(_ logEntry: String) {}
static func reset() {}
}