Skip to content

Commit

Permalink
make Logger.Level codable (apple#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianKahnert authored and kokhong20 committed Nov 4, 2019
1 parent a53d92e commit 21c0d7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Logging/Logging.swift
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ extension Logger {
///
/// Log levels are ordered by their severity, with `.trace` being the least severe and
/// `.critical` being the most severe.
public enum Level: CaseIterable {
public enum Level: String, Codable, CaseIterable {
/// Appropriate for messages that contain information only when debugging a program.
case trace

Expand Down

0 comments on commit 21c0d7b

Please sign in to comment.