Issue Details (XML | Word | Printable)

Key: LOGCXX-63
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Curt Arnold
Reporter: Curt Arnold
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Log4cxx

Platform appropriate line-feed convention

Created: 16/Feb/05 07:38 AM   Updated: 18/Feb/05 06:54 AM
Return to search
Component/s: Appender
Affects Version/s: 0.9.7
Fix Version/s: 0.10.0

Time Tracking:
Not Specified

Resolution Date: 18/Feb/05 06:54 AM


 Description  « Hide
Existing layouts use line-feed characters to indicate end-of-line for all platforms. Some Windows applications are tolerant of this convention, but others, such as Notepad, will not properly display files that do not use carriage-return/line-feed pairs to indicate end of line.

This fix introduces a preprocessor macro LOG4CXX_EOL that evaluates to a character literal with the appropriate end-of-line sequence. Also modifies StringHelper::getline to accept either Unix or Windows style EOL's.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.