added using directive for logging function.