blob: 90b9215ab405947b0949d9728d94a07cdac29f93 [file] [log] [blame]
François Degrosbf7bb592019-07-12 09:49:52 +10001// Copyright 2019 The Chromium OS 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 CROS_DISKS_ERROR_LOGGER_H_
6#define CROS_DISKS_ERROR_LOGGER_H_
7
8#include <ostream>
9
10#include <chromeos/dbus/service_constants.h>
11
12namespace cros_disks {
13
14// Output operators for logging.
15std::ostream& operator<<(std::ostream& out, FormatErrorType error);
16std::ostream& operator<<(std::ostream& out, MountErrorType error);
Omid Tourzan73547ea2020-08-28 13:00:39 +100017std::ostream& operator<<(std::ostream& out, PartitionErrorType error);
François Degrosbf7bb592019-07-12 09:49:52 +100018std::ostream& operator<<(std::ostream& out, RenameErrorType error);
19
20} // namespace cros_disks
21
22#endif // CROS_DISKS_ERROR_LOGGER_H_