Flutter Engine
The 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
10namespace tonic {
11
12void Log(const char* format, ...);
13
14void SetLogHandler(std::function<void(const char*)> handler);
15
16} // namespace tonic
17
18#endif // TONIC_COMMON_LOG_H_
uint32_t uint32_t * format
Dart_NativeFunction function
Definition: fuchsia.cc:51
void SetLogHandler(std::function< void(const char *)> handler)
Definition: log.cc:46
void Log(const char *format,...)
Definition: log.cc:19