You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2009/09/11 15:14:57 UTC
[jira] Updated: (PDFBOX-524) Drop LoggingObject
[ https://issues.apache.org/jira/browse/PDFBOX-524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jukka Zitting updated PDFBOX-524:
---------------------------------
Attachment: PDFBOX-524.patch
Attached a patch that replaces the LoggingObject base class with static Log instances.
> Drop LoggingObject
> ------------------
>
> Key: PDFBOX-524
> URL: https://issues.apache.org/jira/browse/PDFBOX-524
> Project: PDFBox
> Issue Type: Improvement
> Reporter: Jukka Zitting
> Priority: Minor
> Attachments: PDFBOX-524.patch
>
>
> The current LoggingObject base class breaks the "composition over inheritance" principle. A more standard logging pattern is to use a separate logger instance:
> private static final Log log = LogFactory.getLog(ThisClass.class);
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.