August 2015
Intermediate to advanced
246 pages
4h 21m
English
The log in any software is useful for many aspects, one of them being exception handling. Kivy is always logging information about its performance. It creates a log file of every running of our app. Every programmer knows how helpful logging is for software engineering. In this recipe, we want to show information of our app in that log.
We will use a Python file with the MyW() usual class where we will raise an error and display it in the Kivy log. To complete the recipe, follow these steps:
kivy package.Logger packages.MyW() class.import kivy kivy.require('1.9.0') from kivy.app import App from ...Read now
Unlock full access