Differences between revisions 3 and 4
Revision 3 as of 2021-03-16 18:29:07
Size: 511
Comment:
Revision 4 as of 2021-03-16 18:29:12
Size: 475
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from StataLogs

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 2025-10-24 17:27:01 by DominicRicottone)