// Explore More Tutorials
Application logging and tracing
12/02/2018
Beginner
15 min.
Logging and tracing using the SAP Cloud Platform SDK for iOS.
You will learn
In this tutorial, you will learn to use the logging functionality that is part of the SAP Cloud Platform SDK for iOS. You will also learn how to set logging settings in SAP Cloud Platform mobile service for development and operations which will be reflected in your application.
The SAP Cloud Platform 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 Cloud Platform mobile service 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.
Step 1: Referencing the Logger class
Step 2: Set logging levels
Step 3: Retrieve log settings from SAP Cloud Platform mobile service for development and operations
Prerequisites
- Development environment: Apple iMac, MacBook or MacBook Pro running Xcode 9 or higher
- SAP Cloud Platform SDK for iOS: Version 2.0
- Tutorials: Push Notifications
Navigate tutorial steps