Book Image

Kotlin Programming By Example

By : Iyanu Adelekan
Book Image

Kotlin Programming By Example

By: Iyanu Adelekan

Overview of this book

Kotlin greatly reduces the verbosity of source code. With Google having announced their support for Kotlin as a first-class language for writing Android apps, now's the time learn how to create apps from scratch with Kotlin Kotlin Programming By Example takes you through the building blocks of Kotlin, such as functions and classes. You’ll explore various features of Kotlin by building three applications of varying complexity. For a quick start to Android development, we look at building a classic game, Tetris, and elaborate on object-oriented programming in Kotlin. Our next application will be a messenger app, a level up in terms of complexity. Before moving onto the third app, we take a look at data persistent methods, helping us learn about the storage and retrieval of useful applications. Our final app is a place reviewer: a web application that will make use of the Google Maps API and Place Picker. By the end of this book, you will have gained experience of of creating and deploying Android applications using Kotlin.
Table of Contents (12 chapters)

Managing Spring application logs with ELK

When building systems that are intended to be deployed, an important thing to consider is the means by which server log files are managed. A server log is a log file that is created and maintained by a server. Log files generally consist of a list of activities that a server performed. A means of managing application log files that should be strongly considered is the use of the ELK (Elasticsearch, Logstash, and Kibana) stack. In this section, we will learn how to manage Spring application log files with the ELK stack.

Generating logs with Spring

Before getting started with setting up an ELK stack to manage our Spring logs, we must configure Spring to generate log files. This can easily...