Application logging and tracing
Beginner
15 min.
Logging and tracing using the SAP BTP SDK for iOS.
You will learn
Prerequisites
- Development environment: Apple iMac, MacBook or MacBook Pro running Xcode 9 or higher
- SAP BTP SDK for iOS: Version 2.0
- Tutorials: Push Notifications
In this tutorial, you will learn to use the logging functionality that is part of the SAP BTP SDK for iOS. You will also learn how to set logging settings in SAP Mobile Services for development and operations which will be reflected in your application.
The SAP BTP SDK for iOS provides you with sophisticated functionality which allows you to implement logging and tracing in your application. In addition, you can configure specific logging settings in SAP Mobile Services for development and operations, which can be mirrored in your application using the SAPcpmsSettings
class.
The actual logging is provided by the Logger
class, which is part of the SAPCommon
SDK module.