Skip to content

Releases: SwiftMN/SumoLogHandler

SumoLogHandler 2.0.1

01 Apr 17:22
8c55d1a
Compare
Choose a tag to compare

Separates fileName and lineNumber

Before

{
  "file": "MyFileName:34",
  ...
}

After

{
  "fileName": "MyFileName",
  "lineNumber": "34"
  ...
}

SumoLogHandler 2.0.0

01 Apr 14:36
79b4350
Compare
Choose a tag to compare

Added

  • machine
  • systemName
  • systemVersion

Changed

  • init signature changed to more accurately reflect names of things in Sumo
    • sumoName -> sourceName
    • sumoCategory -> sourceCategory

Removed

  • thread since it never actually worked.

Example

Logs in Sumo look like this:

{
  "file": "MyClassName:62",
  "function": "myFunctionName(someVariable:)",
  "logLevel": "info",
  "machine": "iPad7,12",
  "message": "This is a log message",
  "systemName": "iOS",
  "systemVersion": "13.4",
  "timestamp": "2020-04-01T07:58:30.506-0500"
}

SumoLogHandler 1.0.0

10 Feb 18:51
Compare
Choose a tag to compare

The first version of SumoLogHandler