|
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #include "eventoutputhandler.h" |
|
17 #include "util.h" |
|
18 #include "logevents\rdebuglogevent.h" |
|
19 #include "e32btrace.h" |
|
20 |
|
21 CRDebugLogEvent::CRDebugLogEvent(const CUTraceFrame& aFrame, MEventOutputHandler& aOutputHandler) |
|
22 : CSimpleLogEvent(aFrame, aOutputHandler) |
|
23 { |
|
24 SetPrefix("ERDebugPrintf"); |
|
25 } |
|
26 |
|
27 CRDebugLogEvent::CRDebugLogEvent(const std::string& aPrefix, const CUTraceFrame& aFrame, MEventOutputHandler& aOutputHandler) |
|
28 : CSimpleLogEvent(aFrame, aOutputHandler) |
|
29 { |
|
30 SetPrefix(aPrefix); |
|
31 } |
|
32 |
|
33 CRDebugLogEvent::CRDebugLogEvent(const CMultiPartFrameCollection& aFrameCollection, MEventOutputHandler& aOutputHandler) |
|
34 : CSimpleLogEvent(aFrameCollection, aOutputHandler) |
|
35 { |
|
36 SetPrefix("ERDebugPrintf"); |
|
37 } |
|
38 |
|
39 |
|
40 CRDebugLogEvent::CRDebugLogEvent(const std::string& aPrefix, const CMultiPartFrameCollection& aFrameCollection, MEventOutputHandler& aOutputHandler) |
|
41 : CSimpleLogEvent(aFrameCollection, aOutputHandler) |
|
42 { |
|
43 SetPrefix(aPrefix); |
|
44 } |
|
45 |
|
46 void CRDebugLogEvent::Describe(std::ostream& aOutput) const |
|
47 { |
|
48 DescribeText(aOutput); |
|
49 } |
|
50 |
|
51 |