Removed log function

to be moved to Util