Uploaded image for project: 'Log4cxx'
  1. Log4cxx
  2. LOGCXX-135

Use std::string with logstream

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.10.0
    • 0.10.0
    • None
    • None

    Description

      Currently, one cannot directly output a std::string through a logstream. Looking at the operator<< functions for char, I discovered the same pattern can be used for std::string. So, I added those functions and am attaching a patch.

      Attachments

        1. fixLogstream.diff
          1 kB
          David Steck
        2. fixLogstream2.diff
          1 kB
          David Steck

        Activity

          People

            carnold@apache.org Curt Arnold
            steckd David Steck
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: