mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Tonic used to be used by multiple consumers outside of Flutter Engine. Due to this, it has an unnecessary abstraction layer as well as utilities duplicated in FML and other engine subsystems. The sole user of Tonic is now the Flutter Engine. It is intended that the Flutter Engine team now owns this subsystem, remove unnecessary utilities and document the headers. This is the first step in the transition. No history is being imported as the initial history was already lost in the transition of this component to fuchsia.googlesource. As this component was unmaintained there, I could see no additional value in importing the history of the patches there. No functional change. Just moved the repo from //third_party to //flutter/third_party and updates GN refs.
19 lines
417 B
C++
19 lines
417 B
C++
// Copyright 2013 The Flutter Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef TONIC_COMMON_LOG_H_
|
|
#define TONIC_COMMON_LOG_H_
|
|
|
|
#include <functional>
|
|
|
|
namespace tonic {
|
|
|
|
void Log(const char* format, ...);
|
|
|
|
void SetLogHandler(std::function<void(const char*)> handler);
|
|
|
|
} // namespace tonic
|
|
|
|
#endif // TONIC_COMMON_LOG_H_
|