1 | // Copyright 2013 The Flutter 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 TONIC_COMMON_LOG_H_ |
6 | #define TONIC_COMMON_LOG_H_ |
7 | |
8 | #include <functional> |
9 | |
10 | namespace tonic { |
11 | |
12 | void Log(const char* format, ...); |
13 | |
14 | void SetLogHandler(std::function<void(const char*)> handler); |
15 | |
16 | } // namespace tonic |
17 | |
18 | #endif // TONIC_COMMON_LOG_H_ |
19 |