DJI Onboard SDK
4.0
|
Logging mechanism for printing status and error messages to the screen. More...
Go to the source code of this file.
Classes | |
class | DJI::OSDK::Log |
Logger for DJI OSDK supporting different logging channels. More... | |
Namespaces | |
DJI | |
handle array of characters | |
DJI::OSDK | |
Macros | |
#define | DLOG(_title_) |
#define | DLOG_PRIVATE(_title_) |
#define | STATUS DJI::OSDK::Log::instance().getStatusLogState() |
#define | ERRORLOG DJI::OSDK::Log::instance().getErrorLogState() |
#define | DEBUG DJI::OSDK::Log::instance().getDebugLogState() |
#define | DSTATUS DLOG(STATUS) |
Global Logging macro for status messages. More... | |
#define | DSTATUS_PRIVATE DLOG_PRIVATE(STATUS) |
#define | DERROR DLOG(ERRORLOG) |
Global Logging macro for error messages. More... | |
#define | DERROR_PRIVATE DLOG_PRIVATE(ERRORLOG) |
#define | DDEBUG DLOG(DEBUG) |
Global Logging macro for debug messages. More... | |
#define | DDEBUG_PRIVATE DLOG_PRIVATE(DEBUG) |
Logging mechanism for printing status and error messages to the screen.
@Copyright (c) 2016-2017 DJI
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define DDEBUG DLOG(DEBUG) |
Global Logging macro for debug messages.
Users can use methods in the DJI::OSDK::Log class to enable/disable this logging channel
#define DERROR DLOG(ERRORLOG) |
Global Logging macro for error messages.
Users can use methods in the DJI::OSDK::Log class to enable/disable this logging channel
#define DLOG | ( | _title_ | ) |
#define DLOG_PRIVATE | ( | _title_ | ) |
#define DSTATUS DLOG(STATUS) |
Global Logging macro for status messages.
Users can use methods in the DJI::OSDK::Log class to enable/disable this logging channel