added logging function

Logging function for better logging with increasing date and time.

Usage: logit "LOG MESSAGE"