equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0"" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 #ifndef LOGGERGLOBAL_H |
|
18 #define LOGGERGLOBAL_H |
|
19 |
|
20 #include <QtGlobal> |
|
21 |
|
22 #ifdef BUILD_LOGGER_DLL |
|
23 #define LOGGER_EXPORT Q_DECL_EXPORT |
|
24 #else |
|
25 #define LOGGER_EXPORT Q_DECL_IMPORT |
|
26 #endif |
|
27 |
|
28 #define LINE_SEPERATOR QLatin1String("\r\n"); |
|
29 |
|
30 #define SETTINGS_SECTION_SEPERATOR QLatin1String("/") |
|
31 |
|
32 //following strings can be used in configuration file to specify logger's properties |
|
33 //refer to logger.h |
|
34 #define LOGGER_LOGDATETIME QLatin1String("logdatetime") |
|
35 #define LOGGER_LOGLOGGERNAME QLatin1String("logloggername") |
|
36 #define LOGGER_DATETIMEFORMAT QLatin1String("datetimeformat") |
|
37 #define LOGGER_OUTPUT QLatin1String("output") |
|
38 |
|
39 #define DEBUGOUTPUT_NAME QLatin1String("debugoutput") |
|
40 #define CONSOLEOUTPUT_NAME QLatin1String("consoleoutput") |
|
41 #define FILEOUTPUT_NAME QLatin1String("fileoutput") |
|
42 #define FILEOUTPUT_LOGFILE QLatin1String("logfile") |
|
43 #define FILEOUTPUT_TRUNCATE QLatin1String("truncate") |
|
44 |
|
45 #endif //LOGGERGLOBAL_H |