OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef REMOTING_CLIENT_CLIENT_LOGGER_H_ | |
6 #define REMOTING_CLIENT_CLIENT_LOGGER_H_ | |
7 | |
8 #include "base/basictypes.h" | |
9 #include "base/logging.h" | |
10 | |
11 namespace remoting { | |
12 | |
13 class ClientLogger { | |
14 public: | |
15 ClientLogger(); | |
16 virtual ~ClientLogger(); | |
17 | |
18 void Log(logging::LogSeverity severity, const char* format, ...); | |
19 void VLog(int verboselevel, const char* format, ...); | |
20 | |
21 virtual void va_Log(logging::LogSeverity severity, | |
22 const char* format, va_list ap); | |
23 virtual void va_VLog(int verboselevel, const char* format, va_list ap); | |
24 | |
25 private: | |
26 DISALLOW_COPY_AND_ASSIGN(ClientLogger); | |
27 }; | |
28 | |
29 } // namespace remoting | |
30 | |
31 #endif // REMOTING_CLIENT_CLIENT_LOGGER_H_ | |
OLD | NEW |