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:
Lawrence Lomax 2016-03-17 05:52:08 -07:00 коммит произвёл Facebook Github Bot 3
Родитель bb3a0a4bd3
Коммит b70be329bf
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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),