Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2010 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 <string> | |
|
dmac
2011/05/13 23:34:10
we do you need string?
garykac
2011/05/14 01:09:16
Leftover from old version. Removed.
| |
| 9 | |
| 10 #include "base/basictypes.h" | |
| 11 #include "base/logging.h" | |
| 12 | |
| 13 namespace remoting { | |
| 14 | |
| 15 class ClientLogger { | |
| 16 public: | |
| 17 ClientLogger(); | |
| 18 virtual ~ClientLogger(); | |
| 19 | |
| 20 void Log(logging::LogSeverity severity, const char* format, ...); | |
| 21 void VLog(int verboselevel, const char* format, ...); | |
| 22 | |
| 23 virtual void va_Log(logging::LogSeverity severity, | |
| 24 const char* format, va_list ap); | |
| 25 virtual void va_VLog(int verboselevel, const char* format, va_list ap); | |
| 26 | |
| 27 private: | |
| 28 DISALLOW_COPY_AND_ASSIGN(ClientLogger); | |
| 29 }; | |
| 30 | |
| 31 } // namespace remoting | |
| 32 | |
| 33 #endif // REMOTING_CLIENT_CLIENT_LOGGER_H_ | |
| OLD | NEW |