Opened 14 years ago

Closed 13 years ago

#1026 closed patch (fixed)

conditional log statements phase 2

Reported by: Mark Spieth Owned by: cpinkham
Priority: minor Milestone: 0.20
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

now that timestamp logging support is in place this is phase2. Adjust all the timestamp dependent logging lines to include this. audiooutputbase is heavily manually edited so hopefully it applies ok due to ac3 work.

Attachments (2)

mythtv_multilog_add.patch (10.1 KB) - added by Mark Spieth 14 years ago.
mythtv_multilog_add2.patch (495 bytes) - added by Mark Spieth 14 years ago.

Download all attachments as: .zip

Change History (6)

Changed 14 years ago by Mark Spieth

Attachment: mythtv_multilog_add.patch added

Changed 14 years ago by Mark Spieth

Attachment: mythtv_multilog_add2.patch added

comment:1 Changed 14 years ago by Mark Spieth

2nd one defines missing LOC def due to patch editing.

comment:2 Changed 13 years ago by cpinkham

Milestone: unknown0.20

comment:3 Changed 13 years ago by cpinkham

Owner: changed from Isaac Richards to cpinkham

Need to check this out to see what still applies to current SVN.

comment:4 Changed 13 years ago by cpinkham

Resolution: fixed
Status: newclosed

(In [10551]) Apply the second half of Mark Spieth's timestamp logging mods which have been sitting in trac for a while. Also added LOC and LOC_ERR macros to audiooutputbase.cpp while I was in there manually applying the patch. These log messages take advantage of the semi-new ability to use the VERBOSE macro like this:

VERBOSE(VB_PLAYBACK|VB_TIMESTAMP, "message");

The message would only be printed when both 'playback' and 'timestamp' were passed to the -v option on the command line.

Closes #1026.

Note: See TracTickets for help on using tickets.