Chromium Code Reviews| Index: remoting/client/client_logger.h |
| diff --git a/remoting/client/client_logger.h b/remoting/client/client_logger.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d37500603e4123014985638a6b90fbb8c9418e94 |
| --- /dev/null |
| +++ b/remoting/client/client_logger.h |
| @@ -0,0 +1,33 @@ |
| +// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef REMOTING_CLIENT_CLIENT_LOGGER_H_ |
| +#define REMOTING_CLIENT_CLIENT_LOGGER_H_ |
| + |
| +#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.
|
| + |
| +#include "base/basictypes.h" |
| +#include "base/logging.h" |
| + |
| +namespace remoting { |
| + |
| +class ClientLogger { |
| + public: |
| + ClientLogger(); |
| + virtual ~ClientLogger(); |
| + |
| + void Log(logging::LogSeverity severity, const char* format, ...); |
| + void VLog(int verboselevel, const char* format, ...); |
| + |
| + virtual void va_Log(logging::LogSeverity severity, |
| + const char* format, va_list ap); |
| + virtual void va_VLog(int verboselevel, const char* format, va_list ap); |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(ClientLogger); |
| +}; |
| + |
| +} // namespace remoting |
| + |
| +#endif // REMOTING_CLIENT_CLIENT_LOGGER_H_ |