Details
-
New Feature
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Not A Defect
-
None
Description
I'm able to write to the build's log with:
manager.build.logFile.withWriter{log ->
log.println "Hello Log."
}
However, features, such as log timestamping don't work. I'm assumming, the script's output won't be subjected to warning parsing either (did not check).
There should be some way to access the logging facilities that exist during the build proper.
Found the correct way to access the logger:
manager.listener.logger.println