Base functions for console application such as Logging and Notification