equal
deleted
inserted
replaced
43 |
43 |
44 override def toString: String = |
44 override def toString: String = |
45 { |
45 { |
46 val res = |
46 val res = |
47 if (is_status || is_report) message.body.map(_.toString).mkString |
47 if (is_status || is_report) message.body.map(_.toString).mkString |
48 else Pretty.string_of(message.body) |
48 else Pretty.string_of(message.body, metric = Symbol.Metric) |
49 if (properties.isEmpty) |
49 if (properties.isEmpty) |
50 kind.toString + " [[" + res + "]]" |
50 kind.toString + " [[" + res + "]]" |
51 else |
51 else |
52 kind.toString + " " + |
52 kind.toString + " " + |
53 (for ((x, y) <- properties) yield x + "=" + y).mkString("{", ",", "}") + " [[" + res + "]]" |
53 (for ((x, y) <- properties) yield x + "=" + y).mkString("{", ",", "}") + " [[" + res + "]]" |