François Degros | bf7bb59 | 2019-07-12 09:49:52 +1000 | [diff] [blame] | 1 | // 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 | |
| 12 | namespace cros_disks { |
| 13 | |
| 14 | // Output operators for logging. |
| 15 | std::ostream& operator<<(std::ostream& out, FormatErrorType error); |
| 16 | std::ostream& operator<<(std::ostream& out, MountErrorType error); |
Omid Tourzan | 73547ea | 2020-08-28 13:00:39 +1000 | [diff] [blame] | 17 | std::ostream& operator<<(std::ostream& out, PartitionErrorType error); |
François Degros | bf7bb59 | 2019-07-12 09:49:52 +1000 | [diff] [blame] | 18 | std::ostream& operator<<(std::ostream& out, RenameErrorType error); |
| 19 | |
| 20 | } // namespace cros_disks |
| 21 | |
| 22 | #endif // CROS_DISKS_ERROR_LOGGER_H_ |