aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcommon/lllog.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llcommon/lllog.h')
-rw-r--r--linden/indra/llcommon/lllog.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/linden/indra/llcommon/lllog.h b/linden/indra/llcommon/lllog.h
new file mode 100644
index 0000000..a852a39
--- /dev/null
+++ b/linden/indra/llcommon/lllog.h
@@ -0,0 +1,57 @@
1/**
2 * @file lllog.h
3 * @author Don
4 * @date 2007-11-27
5 * @brief Class to log messages to syslog for streambase to process.
6 *
7 * $LicenseInfo:firstyear=2007&license=viewergpl$
8 *
9 * Copyright (c) 2007-2008, Linden Research, Inc.
10 *
11 * Second Life Viewer Source Code
12 * The source code in this file ("Source Code") is provided by Linden Lab
13 * to you under the terms of the GNU General Public License, version 2.0
14 * ("GPL"), unless you have obtained a separate licensing agreement
15 * ("Other License"), formally executed by you and Linden Lab. Terms of
16 * the GPL can be found in doc/GPL-license.txt in this distribution, or
17 * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2
18 *
19 * There are special exceptions to the terms and conditions of the GPL as
20 * it is applied to this Source Code. View the full text of the exception
21 * in the file doc/FLOSS-exception.txt in this software distribution, or
22 * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception
23 *
24 * By copying, modifying or distributing this software, you acknowledge
25 * that you have read and understood your obligations described above,
26 * and agree to abide by those obligations.
27 *
28 * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
29 * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
30 * COMPLETENESS OR PERFORMANCE.
31 * $/LicenseInfo$
32 */
33
34#ifndef LL_LLLOG_H
35#define LL_LLLOG_H
36
37#include <string>
38
39class LLLogImpl;
40class LLApp;
41class LLSD;
42
43class LLLog
44{
45public:
46 LLLog(LLApp* app);
47 virtual ~LLLog();
48
49 virtual void log(const std::string message, LLSD& info);
50 virtual bool useLegacyLogMessage(const std::string message);
51
52private:
53 LLLogImpl* mImpl;
54};
55
56#endif /* LL_LLLOG_H */
57