[
https://issues.apache.org/jira/browse/LOGGING-87?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dennis Lundberg updated LOGGING-87:
-----------------------------------
Fix Version/s: 1.1.0
> [logging] Add MemoryLog
> -----------------------
>
> Key: LOGGING-87
> URL: https://issues.apache.org/jira/browse/LOGGING-87
> Project: Commons Logging
> Issue Type: Improvement
> Affects Versions: 1.0.4
> Environment: Operating System: All
> Platform: All
> Reporter: Joerg Schaible
> Priority: Minor
> Fix For: 1.1.0
>
> Attachments: MemoryLog.java, MemoryLogTest.java
>
>
> Statistics show, that logging code take normally nearly 4% of the
> application's code. To increase coverage and exclude side-effects from the
> logging code it is useful to have unit tests running the compete logging
> code,
> too. The MemoryLog class is especially designed for this purpose, since every
> log entry can be retrieved later on as big list with each entry represented
> by
> a bean. This makes it e.g. easy to test for thrown and logged exceptions.
> Code for MemoryLog and MemoryLogTest attached, code borrows from SimpleLog.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.