Device solutions
End to end solutions
Product accelerators
Get Started
APIs
IoT Devices
The following examples show how to use the PCAPILogger and PCAPIConsoleLogger class methods to start ,stop, add, and remove logging in SDK.
PCAPILogger
PCAPIConsoleLogger
Code Sample
[[PCAPILogger sharedLogger] startLogging];
[[PCAPILogger sharedLogger] stopLogging];
PCAPIConsoleLogger *debugLogger = [PCAPIConsoleLogger new]; debugLogger.logLevel = PCAPILoggerLevelDebug; [[PCAPILogger sharedLogger] addLogger:debugLogger];
[[PCAPILogger sharedLogger] removeLogger:debugLogger];
Copyright © 2015-2017, Verizon and/or its Licensors. All rights reserved.