Disambiguate logs/diagnostics
Summary: Logs aren't diagnostics Reviewed By: marekcirkos Differential Revision: D3059207 fb-gh-sync-id: cb4711bb8cfc2e11d4def51e1018a98dc78ca92d shipit-source-id: cb4711bb8cfc2e11d4def51e1018a98dc78ca92d
This commit is contained in:
Родитель
bb3a0a4bd3
Коммит
b70be329bf
|
@ -26,6 +26,7 @@ public enum EventName : String {
|
|||
case Launch = "launch"
|
||||
case List = "list"
|
||||
case Listen = "listen"
|
||||
case Log = "log"
|
||||
case Query = "query"
|
||||
case Record = "record"
|
||||
case Relaunch = "relaunch"
|
||||
|
@ -110,7 +111,7 @@ class SimpleEvent : NSObject, JSONDescribeable {
|
|||
public var jsonDescription: JSON {
|
||||
get {
|
||||
return JSON.JDictionary([
|
||||
"event_name" : JSON.JString(EventName.Diagnostic.rawValue),
|
||||
"event_name" : JSON.JString(EventName.Log.rawValue),
|
||||
"event_type" : JSON.JString(EventType.Discrete.rawValue),
|
||||
"subject" : JSON.JString(self.logString),
|
||||
"level" : JSON.JString(self.levelString),
|
||||
|
|
Загрузка…
Ссылка в новой задаче