Differences between revisions 2 and 5 (spanning 3 versions)
Revision 2 as of 2021-03-16 18:28:54
Size: 475
Comment:
Revision 5 as of 2023-06-07 20:25:05
Size: 516
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from Stata/LogFiles

Log Files

Stata outputs to a terminal emulator. Output can be recorded into a markup file, which can be rendered into file formats including raw text.


Built-in Logging

log using "path/to/file", replace

// do something

log off
di "Rather than running commands `quietly`, temporarily turn off logging.
log on

// do something else

log close
translate "path/to/file.smcl" "path/to/file.log"


CategoryRicottone

Stata/Log (last edited 2023-06-09 13:49:49 by DominicRicottone)