http://bugzilla.moblin.org/show_bug.cgi?id=5041

           Summary: avoid use of stdout/cout, route through our own
                    logging code
    Classification: Moblin Projects
           Product: SyncEvolution
           Version: upstream
          Platform: Generic
        OS/Version: Other
            Status: ASSIGNED
          Severity: normal
          Priority: P2
         Component: * Feature Request
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Usage of stdout and cout should be avoided. Currently the SyncEvolutionCmdline
class is still told to write into cout by syncevolution.cpp.

When compiling SyncEvolution .cpp code, any reference to stdout or cout should
trigger a compiler error (redefine the symbols?!). Some with printf, puts, etc.

Instead of cout, a custom stream which passes the data into our logging system
with a suitable tag that reproduces the output verbatim on the console and logs
it in the normal log should be used.

Running commands must redirect stdout of the processes and ideally keep
processing that output while the command runs (rules out simple system()
calls).

-- 
Configure bugmail: http://bugzilla.moblin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
Syncevolution-issues mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution-issues

Reply via email to