1 // Copyright 2013 The Chromium 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.
5 #include <android/log.h>
9 #include "gpu/command_buffer/common/logging.h"
14 std::stringstream
* g_log
;
15 const char* kLogTag
= "chromium-gpu";
18 std::ostream
& Logger::stream() {
20 g_log
= new std::stringstream();
26 __android_log_print(ANDROID_LOG_INFO
, kLogTag
, "%s", g_log
->str().c_str());
27 g_log
->str(std::string());