Add utility for log