MSstatsLogsSettings.RdSet how MSstats will log information from data processing
MSstatsLogsSettings( use_log_file = TRUE, append = FALSE, verbose = TRUE, log_file_path = NULL, base = "MSstats_log_", pkg_name = "MSstats" )
| use_log_file | logical. If TRUE, information about data processing will be saved to a file. |
|---|---|
| append | logical. If TRUE, information about data processing will be added to an existing log file. |
| verbose | logical. If TRUE, information about data processing wil be printed to the console. |
| log_file_path | character. Path to a file to which information about
data processing will be saved.
If not provided, such a file will be created automatically.
If |
| base | start of the file name. |
| pkg_name | currently "MSstats", "MSstatsPTM" or "MSstatsTMT". Each package can use its own separate log settings. |
TRUE invisibly in case of successful logging setup.
# No logging and no messages MSstatsLogsSettings(FALSE, FALSE, FALSE) # Log, but do not display messages MSstatsLogsSettings(TRUE, FALSE, FALSE) # Log to an existing file file.create("new_log.log")#> [1] TRUEMSstatsLogsSettings(TRUE, TRUE, log_file_path = "new_log.log") # Do not log, but display messages MSstatsLogsSettings(FALSE)