Learn R Programming

loggit (version 1.2.0)

setTimestampFormat: Set Timestamp Format

Description

Set timestamp format for use in output logs.

Usage

setTimestampFormat(ts_format = "%Y-%m-%d %H:%M:%S", confirm = TRUE)

Arguments

ts_format

ISO date format.

confirm

Print confirmation of timestamp format setting? Defaults to TRUE.

Examples

Run this code
# NOT RUN {
setTimestampFormat("%Y-%m-%d %H:%M:%S")

# }

Run the code above in your browser using DataLab