addings args array as acceptable parameter for log method