reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
AndroidLogger.hxx
Go to the documentation of this file.
1
2#ifndef __ANDROID_LOGGER_HXX
3#define __ANDROID_LOGGER_HXX
4
5#ifdef __ANDROID__
6
7#if defined(HAVE_CONFIG_H)
8 #include "config.h"
9#endif
10
11#include "rutil/Log.hxx"
12#include "rutil/Logger.hxx"
13
14namespace resip
15{
16
17class AndroidLogger : public ExternalLogger
18{
19 private:
20 static const char *logTag;
21 public:
22 virtual bool operator()(Log::Level level,
23 const Subsystem& subsystem,
24 const Data& appName,
25 const char* file,
26 int line,
27 const Data& message,
28 const Data& messageWithHeaders,
29 const Data& instanceName);
30
31};
32
33};
34
35#endif
36#endif
37
38/* ====================================================================
39 *
40 * Copyright (c) 2007 Daniel Pocock All rights reserved.
41 *
42 * Redistribution and use in source and binary forms, with or without
43 * modification, are permitted provided that the following conditions
44 * are met:
45 *
46 * 1. Redistributions of source code must retain the above copyright
47 * notice, this list of conditions and the following disclaimer.
48 *
49 * 2. Redistributions in binary form must reproduce the above copyright
50 * notice, this list of conditions and the following disclaimer in
51 * the documentation and/or other materials provided with the
52 * distribution.
53 *
54 * 3. Neither the name of the author(s) nor the names of any contributors
55 * may be used to endorse or promote products derived from this software
56 * without specific prior written permission.
57 *
58 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND CONTRIBUTORS "AS IS" AND
59 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
60 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
61 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) OR CONTRIBUTORS BE LIABLE
62 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
63 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
64 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
65 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
66 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
67 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
68 * SUCH DAMAGE.
69 *
70 * ====================================================================
71 *
72 *
73 */
74
dcm! – add UnusedChecking(_enum) below;
void list()
Definition userAdmin.cxx:66