Ticket #390 (closed defect: fixed)

Opened 16 years ago

Last modified 16 years ago

LogRenderer doesn't output colors for USER or WARNING traceTypes

Reported by: cblackwell Owned by:
Priority: normal Milestone: 3.1 Maintenance Beta
Version: 3.1.185 Severity: minor
Keywords: logging log renderer Cc:

Description

The default LogRenderer?.cfc does not correctly output colors for traceType's of USER or WARNING. This is because the comparisons were erroneously being made against the type which can be any string but typically things like "Message Broadcast" or "Result". Whereas the comparison needs to be made against traceType, which defaults to OK, and for USER or WARNING will output a colored table row.

patch attached

Attachments

LogRenderer.cfc.diff (2.5 kB) - added by cblackwell 16 years ago.

Change History

Changed 16 years ago by cblackwell

Changed 16 years ago by DanWilson

  • status changed from new to closed
  • resolution set to fixed

Fixed in SVN commit 234

Note: See TracTickets for help on using tickets.