| Index: remoting/base/logger.h
|
| diff --git a/remoting/client/client_logger.h b/remoting/base/logger.h
|
| similarity index 71%
|
| rename from remoting/client/client_logger.h
|
| rename to remoting/base/logger.h
|
| index f481c51eb6825886e04ff0f9901fb1d9cd890c42..1022e4f673c71087f53757df12e249835810b0c7 100644
|
| --- a/remoting/client/client_logger.h
|
| +++ b/remoting/base/logger.h
|
| @@ -2,18 +2,18 @@
|
| // 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_
|
| +#ifndef REMOTING_BASE_LOGGER_H_
|
| +#define REMOTING_BASE_LOGGER_H_
|
|
|
| #include "base/basictypes.h"
|
| #include "base/logging.h"
|
|
|
| namespace remoting {
|
|
|
| -class ClientLogger {
|
| +class Logger {
|
| public:
|
| - ClientLogger();
|
| - virtual ~ClientLogger();
|
| + Logger();
|
| + virtual ~Logger();
|
|
|
| void Log(logging::LogSeverity severity, const char* format, ...);
|
| void VLog(int verboselevel, const char* format, ...);
|
| @@ -22,10 +22,13 @@ class ClientLogger {
|
| const char* format, va_list ap);
|
| virtual void va_VLog(int verboselevel, const char* format, va_list ap);
|
|
|
| + protected:
|
| + static const char* const log_severity_names[];
|
| +
|
| private:
|
| - DISALLOW_COPY_AND_ASSIGN(ClientLogger);
|
| + DISALLOW_COPY_AND_ASSIGN(Logger);
|
| };
|
|
|
| } // namespace remoting
|
|
|
| -#endif // REMOTING_CLIENT_CLIENT_LOGGER_H_
|
| +#endif // REMOTING_BASE_LOGGER_H_
|
|
|