chromium/components/payments/core/error_logger.h

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef COMPONENTS_PAYMENTS_CORE_ERROR_LOGGER_H_
#define COMPONENTS_PAYMENTS_CORE_ERROR_LOGGER_H_

#include <string>

namespace payments {

// Logs messages to stderr. See DeveloperConsoleLogger for an implementation
// that logs messages to the developer console instead, which is more useful for
// web developers.
//
// Sample usage:
//
//   ErrorLogger log;
//   log.Warn("Something's wrong.");
class ErrorLogger {};

}  // namespace payments

#endif  // COMPONENTS_PAYMENTS_CORE_ERROR_LOGGER_H_