Networking rework: simplified API calls.

This commit is contained in:
Vicnet
2023-11-16 13:13:06 +01:00
parent 17678dea5f
commit 3563c23e29
14 changed files with 731 additions and 97 deletions

View File

@@ -0,0 +1,19 @@
//
// Logger.swift
// Nextcloud Cookbook iOS Client
//
// Created by Vincent Meilinger on 13.11.23.
//
import Foundation
import OSLog
extension Logger {
private static var subsystem = Bundle.main.bundleIdentifier!
/// UI related logging
static let view = Logger(subsystem: subsystem, category: "view")
/// Network related logging
static let network = Logger(subsystem: subsystem, category: "network")
}