[ 
https://issues.apache.org/jira/browse/OFBIZ-11762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17127279#comment-17127279
 ] 

ASF subversion and git services commented on OFBIZ-11762:
---------------------------------------------------------

Commit 15aec7e8f7f04e774bc9f956876e057c9006b9c7 in ofbiz-framework's branch 
refs/heads/trunk from Priya Sharma
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=15aec7e ]

WIP: [Improved]: Use GroovyBaseScript's logging utility methods instead of 
using Debug (OFBIZ-11762) (#185)

* [Improved]: Use GroovyBaseScript's logging utility methods instead of using 
Debug
- Replaced the debug.log methods with the respective groovy utility method
- Enhanced the GroovyBaseScript to entertain the fetch the current class name 
as the module name for logging
- Overloaded the logError method to entertain throwbale object for better 
logging
- Removed unused import statements and module variables.

(OFBIZ-11762)

* [Removed]: Extra line spaces. (OFBIZ-11762)

* [Revert]: Unwanted changes. (OFBIZ-11762)

* [Added] Same changes to these files. (OFBIZ-11762)

Co-authored-by: Priya Sharma <priya.sha...@example.com>

> Use GroovyBaseScript's logging utility methods instead of using Debug in each 
> Groovy files
> ------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-11762
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11762
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL COMPONENTS
>    Affects Versions: Trunk
>            Reporter: Pawan Verma
>            Assignee: Priya Sharma
>            Priority: Minor
>
> Use GroovyBaseScript's logging utility methods instead of using Debug in each 
> Groovy files
> *Currently used:* Debug.logError(MESSAGE)
> *Proposed Use:* logError(MESSAGE)
>  
> It will benefit us to remove the module from each groovy file as it is 
> already handled in GroovyBaseScript. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to