This is a practice to show log message and toast message.