secant-ios-wallet/modules/Sources/Utils/Logging/TCALogging.swift

26 lines
475 B
Swift

//
// TCALogging.swift
// secant-testnet
//
// Created by Lukáš Korba on 23.01.2023.
//
import Foundation
import os
import ZcashLightClientKit
import Utils
extension OSLogger {
public static let live = OSLogger(logLevel: .debug, category: LoggerConstants.tcaLogs)
public func tcaDebug(_ message: String) {
guard let oslog else { return }
os_log(
"%{public}@",
log: oslog,
message
)
}
}