diff options
author | Zdenek Prikryl <zprikryl@redhat.com> | 2009-02-25 11:56:51 +0100 |
---|---|---|
committer | Zdenek Prikryl <zprikryl@redhat.com> | 2009-02-25 11:56:51 +0100 |
commit | 3b07a20154c0a0f8c2a8b54644da09d551b509d5 (patch) | |
tree | 3dfaadb6e70a7fbff153651f026574be6bdfc44c /lib/Plugins/Logger.cpp | |
parent | c0acd39dfe856e7efd5295da471dbc6b14befe3d (diff) | |
download | abrt-3b07a20154c0a0f8c2a8b54644da09d551b509d5.tar.gz abrt-3b07a20154c0a0f8c2a8b54644da09d551b509d5.tar.xz abrt-3b07a20154c0a0f8c2a8b54644da09d551b509d5.zip |
added new reporting items
Diffstat (limited to 'lib/Plugins/Logger.cpp')
-rw-r--r-- | lib/Plugins/Logger.cpp | 95 |
1 files changed, 50 insertions, 45 deletions
diff --git a/lib/Plugins/Logger.cpp b/lib/Plugins/Logger.cpp index 68734df4..37dfa471 100644 --- a/lib/Plugins/Logger.cpp +++ b/lib/Plugins/Logger.cpp @@ -52,50 +52,55 @@ void CLogger::Report(const crash_report_t& pReport) } if (fOut.is_open()) { - fOut << "Common information" << std::endl; - fOut << "==================" << std::endl << std::endl; - fOut << "Architecture" << std::endl; - fOut << "------------" << std::endl; - fOut << pReport.m_sArchitecture << std::endl << std::endl; - fOut << "Kernel version" << std::endl; - fOut << "--------------" << std::endl; - fOut << pReport.m_sKernel << std::endl << std::endl; - fOut << "Package" << std::endl; - fOut << "-------" << std::endl; - fOut << pReport.m_sPackage << std::endl << std::endl; - fOut << "Executable" << std::endl; - fOut << "----------" << std::endl; - fOut << pReport.m_sExecutable << std::endl << std::endl; - fOut << "CmdLine" << std::endl; - fOut << "----------" << std::endl; - fOut << pReport.m_sCmdLine << std::endl << std::endl; - fOut << "Created report" << std::endl; - fOut << "==============" << std::endl; - fOut << "Text reports" << std::endl; - fOut << "==============" << std::endl; - if (pReport.m_sTextData1 != "") - { - fOut << "Text Data 1" << std::endl; - fOut << "-----------" << std::endl; - fOut << pReport.m_sTextData1 << std::endl << std::endl; - } - if (pReport.m_sTextData2 != "") - { - fOut << "Text Data 2" << std::endl; - fOut << "-----------" << std::endl; - fOut << pReport.m_sTextData2 << std::endl << std::endl; - } - fOut << "Binary reports" << std::endl; - fOut << "==============" << std::endl; - if (pReport.m_sBinaryData1 != "") - { - fOut << "1. " << pReport.m_sBinaryData1 << std::endl; - } - if (pReport.m_sBinaryData2 != "") - { - fOut << "2. " << pReport.m_sBinaryData2 << std::endl; - } - fOut << std::endl; - fOut.close(); + fOut << "Duplicity check" << std::endl; + fOut << "==================" << std::endl << std::endl; + fOut << "UUID" << std::endl; + fOut << "------------" << std::endl; + fOut << pReport.m_sUUID << std::endl << std::endl; + fOut << "Common information" << std::endl; + fOut << "==================" << std::endl << std::endl; + fOut << "Architecture" << std::endl; + fOut << "------------" << std::endl; + fOut << pReport.m_sArchitecture << std::endl << std::endl; + fOut << "Kernel version" << std::endl; + fOut << "--------------" << std::endl; + fOut << pReport.m_sKernel << std::endl << std::endl; + fOut << "Package" << std::endl; + fOut << "-------" << std::endl; + fOut << pReport.m_sPackage << std::endl << std::endl; + fOut << "Executable" << std::endl; + fOut << "----------" << std::endl; + fOut << pReport.m_sExecutable << std::endl << std::endl; + fOut << "CmdLine" << std::endl; + fOut << "----------" << std::endl; + fOut << pReport.m_sCmdLine << std::endl << std::endl; + fOut << "Created report" << std::endl; + fOut << "==============" << std::endl; + fOut << "Text reports" << std::endl; + fOut << "==============" << std::endl; + if (pReport.m_sTextData1 != "") + { + fOut << "Text Data 1" << std::endl; + fOut << "-----------" << std::endl; + fOut << pReport.m_sTextData1 << std::endl << std::endl; + } + if (pReport.m_sTextData2 != "") + { + fOut << "Text Data 2" << std::endl; + fOut << "-----------" << std::endl; + fOut << pReport.m_sTextData2 << std::endl << std::endl; + } + fOut << "Binary reports" << std::endl; + fOut << "==============" << std::endl; + if (pReport.m_sBinaryData1 != "") + { + fOut << "1. " << pReport.m_sBinaryData1 << std::endl; + } + if (pReport.m_sBinaryData2 != "") + { + fOut << "2. " << pReport.m_sBinaryData2 << std::endl; + } + fOut << std::endl; + fOut.close(); } } |