5824: Add some clarifying comments and golint/vet/fmt fixes.
[arvados.git] / sdk / go / logger / logger.go
index ce18e90ecfc3ac3134f997caf4634be74b9a0fa5..a989afcf26cb7a6d7b7bad6e4b1589d30e06520d 100644 (file)
 //     entry map[string]interface{}) {
 //   // Modifiy properties and entry however you want
 //   // properties is a shortcut for entry["properties"].(map[string]interface{})
-//   // properties can take any values you want to give it,
-//   // entry will only take the fields listed at http://doc.arvados.org/api/schema/Log.html
+//   // properties can take any (valid) values you want to give it,
+//   // entry will only take the fields listed at
+//   // http://doc.arvados.org/api/schema/Log.html
+//   // Valid values for properties are anything that can be json
+//   // encoded (i.e. will not error if you call json.Marshal() on it.
 // })
 package logger