forgejo/modules/log
wxiaoguang 674df05b16
Use stderr as fallback if the log file can't be opened (#26074)
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 04:57:21 +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