Added logging module

-- It accepts the keyword system as arg to log.method.