Skip to content

Conversation

@DanielSteger
Copy link
Contributor

No description provided.

@DanielSteger DanielSteger linked an issue May 19, 2020 that may be closed by this pull request
resultXml = wptInstructionService.fetchResult(job.location.wptServer, testId)
}
performanceLoggingService.logExecutionTime(DEBUG, "Handling WPT result of jobrun ${testId} of job ${job.id}", 1) {
performanceLoggingService.logExecutionTime(DEBUG, "Handling WPT result of jobrun ${testId} of job ${job.id}", IndentationDepth.ONE) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is much easier to read and use.

def result = null
log.debug("Try to launch job at wptserver=${wptServer} with params=${parameters}")
performanceLoggingService.logExecutionTime(DEBUG, "Launching job ${job.label}: Calling initial runtest on wptserver.", 1) {
performanceLoggingService.logExecutionTime(DEBUG, "Launching job ${job.label}: Calling initial runtest on wptserver.", PerformanceLoggingService.IndentationDepth.ONE) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couldn't you remove the PerformanceLoggingService. part?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This occurs in multiple files.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll change it.

@DanielSteger DanielSteger merged commit 0ce1b45 into develop May 25, 2020
@DanielSteger DanielSteger deleted the feature/peformanceLogsIndentationDepth branch May 25, 2020 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Indentation depth as enum

3 participants