michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this file, michael@0: * You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef mozilla_system_volumemanagerlog_h__ michael@0: #define mozilla_system_volumemanagerlog_h__ michael@0: michael@0: #define USE_DEBUG 0 michael@0: michael@0: #if !defined(VOLUME_MANAGER_LOG_TAG) michael@0: #define VOLUME_MANAGER_LOG_TAG "VolumeManager" michael@0: #endif michael@0: michael@0: #undef LOG michael@0: #define LOG(args...) __android_log_print(ANDROID_LOG_INFO, VOLUME_MANAGER_LOG_TAG, ## args) michael@0: #define ERR(args...) __android_log_print(ANDROID_LOG_ERROR, VOLUME_MANAGER_LOG_TAG, ## args) michael@0: michael@0: #if USE_DEBUG michael@0: #define DBG(args...) __android_log_print(ANDROID_LOG_DEBUG, VOLUME_MANAGER_LOG_TAG, ## args) michael@0: #else michael@0: #define DBG(args...) michael@0: #endif michael@0: michael@0: #endif // mozilla_system_volumemanagerlog_h__