mastodon-ios/Mastodon/Extension/OSLog.swift

21 lines
340 B
Swift
Raw Normal View History

2021-01-29 12:38:11 +01:00
//
// OSLog.swift
// Mastodon
//
// Created by Cirno MainasuK on 2021/1/29
//
import os
import Foundation
import CommonOSLog
extension OSLog {
static let api: OSLog = {
#if DEBUG
return OSLog(subsystem: OSLog.subsystem + ".api", category: "api")
#else
return OSLog.disabled
#endif
}()
}