blob: ff82d0be74b7d764be520c2101320ac0c3e87baa [file] [log] [blame]
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
#ifndef EMBEDDERS_OPENGLUI_ANDROID_ANDROID_LOG_H_
#define EMBEDDERS_OPENGLUI_ANDROID_ANDROID_LOG_H_
#include <android/log.h>
#define LOGX(LOG_LEVEL, ...) do { \
__android_log_print(LOG_LEVEL, "DartExt", __VA_ARGS__); \
} while (0)
#define LOGI(...) LOGX(ANDROID_LOG_INFO, __VA_ARGS__)
#define LOGE(...) LOGX(ANDROID_LOG_ERROR, __VA_ARGS__)
#endif // EMBEDDERS_OPENGLUI_ANDROID_ANDROID_LOG_H_