logging class extended and macros for easy log messages introduced, code changed...