| // Copyright (c) 2013 The Chromium OS 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 AOSP_COMPABILITY_ANDROID_LOG_H_ | |
| #define AOSP_COMPABILITY_ANDROID_LOG_H_ | |
| namespace latinime { | |
| class LogUtils { | |
| void logToJava(JNIEnv *env, char const *fmt, ...) { | |
| va_list args; | |
| va_start(args, fmt); | |
| vprintf(fmt, args); | |
| va_end(args); | |
| } | |
| }; | |
| }; | |
| #endif |