14 Commits

Author SHA1 Message Date
Christian Rocha
c4c83ba757 chore: restrict logfile permissions to owner-only 2023-07-10 09:04:25 -04:00
Christian Rocha
522659d798 chore(lint): wrap various errors 2023-07-10 09:04:25 -04:00
Carlos Alexandro Becker
adb0065256 feat: LogToFileWith (#692)
Allows to log to file with custom loggers, provided they implement
SetOutput and SetPrefix.
2023-03-09 11:46:44 -03:00
Christian Rocha
1a0beff868 chore: use go 1.16 (#449)
* chore: use go 1.16 and gofmt accordingly

* chore: also update examples and tuts to go 1.16
2022-09-14 19:08:36 -04:00
Christian Muehlhaeuser
1e1b5f716d chore: gofmt sources 2022-08-15 12:25:55 +02:00
Christian Rocha
cd676fab5a Correct logic where we add a space after the prefix when logging 2021-03-01 18:05:53 -05:00
Christian Rocha
479a1ceb35 Add space after prefix if one doesn't exist 2021-02-03 15:30:54 -05:00
Richard Cooper
f5fde56af0 Fix adding prefix to file logs 2020-11-22 21:45:29 -05:00
Christian Rocha
c0f67a2927 Improve GoDocs 2020-07-29 20:50:00 -04:00
Christian Rocha
c6a1afd3c7 Remove syslog stuff for Windows support + LogToFile()'s a better choice. 2020-07-27 14:58:51 -04:00
Christian Rocha
3b8b011b5a Rename to Bubble Tea (with the import name tea) 2020-05-25 19:48:36 -04:00
Christian Rocha
9d175b5ed7 Add ability to log directly to a file 2020-05-21 16:59:26 -04:00
Christian Rocha
4bf40fbe62 Rename project to Boba 2020-05-12 16:39:08 -04:00
Christian Muehlhaeuser
1c98700015 syslog is only available on unix systems 2020-01-25 07:15:56 +01:00