blob: 4a59b8dbfb4c4a965738d8a173470b2d4bb4d494 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
//
// WireGuardLogLevel+Logging.swift
// PacketTunnel
//
// Created by pronebird on 15/07/2022.
// Copyright © 2022 Mullvad VPN AB. All rights reserved.
//
import Foundation
import Logging
import WireGuardKit
extension WireGuardLogLevel {
var loggerLevel: Logger.Level {
switch self {
case .verbose:
return .debug
case .error:
return .error
}
}
}
|