Make a comment a little clearer

This commit is contained in:
Christian Rocha 2020-01-18 10:34:28 -05:00
parent cfb899789e
commit b72cce8f00
No known key found for this signature in database
GPG Key ID: D6CC7A16E5878018
1 changed files with 3 additions and 2 deletions

5
tea.go
View File

@ -172,8 +172,9 @@ func (p *Program) render(model Model) {
linesRendered = strings.Count(view, "\r\n")
}
// UseSysLog logs to the system log. This becomes helpful when debugging since
// we can't easily print to the terminal since our TUI is occupying it!
// UseSysLog sets up logging to log the system log. This becomes helpful when
// debugging since we can't easily print to the terminal since our TUI is
// occupying it!
//
// On macOS this is a just a matter of: tail -f /var/log/system.log
func UseSysLog(programName string) error {