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 Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
event_writer_base.go Improve logger Pause handling (#24946) 2023-05-27 22:35:44 +02:00
event_writer_conn.go
event_writer_conn_test.go
event_writer_console.go
event_writer_file.go
flags.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
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