make log method