Created
April 1, 2014 04:58
-
-
Save masazdream/9907974 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // == ここからインクルード | |
| #include <android/log.h> | |
| #define LOG_TAG "AndroidClient/nativelogic" ← ログのタグをつける。ファイルやクラスで分けてつけると良い | |
| #define LOGD(...) ((void)__android_log_print(ANDROID_LOG_DEBUG, LOG_TAG, __VA_ARGS__)) | |
| // == ここまでインクルード | |
| // == ログ出力の記述 | |
| LOGD("output log !"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment