Skip to content

Commit 77b2e83

Browse files
JulianKahnertweissi
authored andcommitted
make Logger.Level codable (#99)
1 parent 1111d30 commit 77b2e83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Logging/Logging.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ extension Logger {
320320
///
321321
/// Log levels are ordered by their severity, with `.trace` being the least severe and
322322
/// `.critical` being the most severe.
323-
public enum Level: CaseIterable {
323+
public enum Level: String, Codable, CaseIterable {
324324
/// Appropriate for messages that contain information only when debugging a program.
325325
case trace
326326

0 commit comments

Comments
 (0)