First public contribution.
3 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
5 * This component and the accompanying materials are made available
6 * under the terms of the License "Eclipse Public License v1.0"
7 * which accompanies this distribution, and is available
8 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
10 * Initial Contributors:
11 * Nokia Corporation - initial contribution.
27 extern void FatalError();
33 struct Indent {}; // log << Log::Endl() will do line end
34 struct Endl {}; // log << Log::Endl() will do line end
36 Log(const char *aPrefix = 0);
38 void SetStream(std::ostream *aStream);
39 std::ostream &Stream();
41 // Write the current indent level to the progress stream
43 // Increase indent level
45 // Decrease indent level
47 // Return current indent level
51 inline Log &operator<<(const T &anObject)
57 inline Log &operator<<(const Indent &)
63 inline Log &operator<<(const Endl &)
65 *iStream << std::endl;
70 std::ostream *iStream;
96 #ifdef _BullseyeCoverage
97 #define BULLSEYE_OFF "BullseyeCoverage save off";
98 #define BULLSEYE_RESTORE "BullseyeCoverage restore";
101 #define BULLSEYE_RESTORE