[JIRA] (JENKINS-60580) TaskListener should support a debug flag for finer granined messages

2 views
Skip to first unread message

jnord@cloudbees.com (JIRA)

unread,
Dec 24, 2019, 6:28:02 AM12/24/19
to jenkinsc...@googlegroups.com
James Nord created an issue
 
Jenkins / Improvement JENKINS-60580
TaskListener should support a debug flag for finer granined messages
Issue Type: Improvement Improvement
Assignee: Unassigned
Components: core
Created: 2019-12-24 11:27
Priority: Minor Minor
Reporter: James Nord

Often it is usefull to add some extra logging to a run / task.

however this needs to be encased in conditional and all parts need to support this.

 

It would be benificial if the `TaskListener` supported a `debug(String, format)` / `debug(String)` method so that code can call it unconditionally and whatever creates the TaskListener could just set a flag to eanble or disable this logging.

 

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages