Flutter Engine
log.h
Go to the documentation of this file.
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_
void Log(const char *format,...)
Definition: log.cc:19
Dart_NativeFunction function
Definition: fuchsia.cc:51
void SetLogHandler(std::function< void(const char *)> handler)
Definition: log.cc:46