Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.9.7
    • Fix Version/s: 0.10.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      Linux

      Description

      The LOG4CXX macros use a temporary ostringstream variable named oss which hides other declarations. For example, the following will print blanks.

      ostringstream oss(“some stuff”);
      LOG4CXX_INFO(logger, oss);

      Possible fix is to use namespace with the temp variable.

      It's a trivial bug, but a pain to track down.

        Attachments

          Activity

            People

            • Assignee:
              mcatan Michaël CATANZARITI
              Reporter:
              jhoffman164 Jeff Hoffman
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: