forgejo/modules/log
Giteabot 8d9193680d
Use stderr as fallback if the log file can't be opened (#26074) (#26083)
Backport #26074 by @wxiaoguang

If the log file can't be opened, what should it do? panic/exit? ignore
logs? fallback to stderr?

It seems that "fallback to stderr" is slightly better than others ....
2023-07-24 05:58:16 +00:00
..
color.go
color_console.go
color_console_other.go
color_console_windows.go
color_router.go
event_format.go
event_format_test.go
event_writer.go
event_writer_base.go
event_writer_conn.go
event_writer_conn_test.go
event_writer_console.go
event_writer_file.go
flags.go
flags_test.go
groutinelabel.go
groutinelabel_test.go
init.go
level.go
level_test.go
logger.go
logger_global.go
logger_impl.go
logger_test.go
manager.go
manager_test.go
misc.go
stack.go