mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-02 02:59:09 -07:00
Clean up and normalize examples
This commit is contained in:
@@ -12,7 +12,8 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
// Log to a file. Useful in debugging. Not required.
|
||||
// Log to a file. Useful in debugging since you can't really log to stdout.
|
||||
// Not required.
|
||||
logfilePath := os.Getenv("BUBBLETEA_LOG")
|
||||
if logfilePath != "" {
|
||||
if _, err := tea.LogToFile(logfilePath, "simple"); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user