Eric Caruso | ea9f10e | 2019-05-01 09:52:01 -0700 | [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 | // This sets up the default glib logger so it logs with the libchrome |
| 6 | // logger instead. |
| 7 | |
| 8 | #ifndef GLIB_BRIDGE_GLIB_LOGGER_H_ |
| 9 | #define GLIB_BRIDGE_GLIB_LOGGER_H_ |
| 10 | |
| 11 | #include <string> |
| 12 | |
Eric Caruso | 353af30 | 2020-10-12 11:44:25 -0700 | [diff] [blame] | 13 | #include "glib-bridge/glib_bridge_export.h" |
| 14 | |
Eric Caruso | ea9f10e | 2019-05-01 09:52:01 -0700 | [diff] [blame] | 15 | namespace glib_bridge { |
| 16 | |
Eric Caruso | 353af30 | 2020-10-12 11:44:25 -0700 | [diff] [blame] | 17 | GLIB_BRIDGE_EXPORT void ForwardLogs(); |
Eric Caruso | ea9f10e | 2019-05-01 09:52:01 -0700 | [diff] [blame] | 18 | |
| 19 | } // namespace glib_bridge |
| 20 | |
| 21 | #endif // GLIB_BRIDGE_GLIB_LOGGER_H_ |