trunc_expr
integer or logical, when integer then cut expr field after nchar, or when TRUE remove expr from result, when FALSE include full expr.
last
integer or logical, if FALSE then full log returned, when TRUE then only last log entry is returned, when integer then last n entries returned.