Skip to content

Commit f39fc6c

Browse files
committed
Conform TracingEvent to Codable
1 parent 8d8d07c commit f39fc6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: Sources/TSCUtility/Tracing.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
import Foundation
1212

13-
public enum TracingEventType {
13+
public enum TracingEventType: String, Codable {
1414
case asyncBegin
1515
case asyncEnd
1616
}
@@ -62,7 +62,7 @@ extension TracingCollectionProtocol {
6262
}
6363
}
6464

65-
public struct TracingEvent: TracingEventProtocol {
65+
public struct TracingEvent: TracingEventProtocol, Codable {
6666
public let cat: String
6767
public let name: String
6868
public let id: String

0 commit comments

Comments
 (0)