forgejo/modules/log
wxiaoguang 910bf31546
Fix flakey test in logger test (#24883)
Fix #24882

The goroutines are all asynchronized. So it needs a little "sleep" to
make sure the writer's goroutine has been paused before sending messages
to it.

Co-authored-by: Giteabot <teabot@gitea.io>
2023-05-23 16:01:20 +00:00
..
color.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
color_console.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
color_console_other.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
color_console_windows.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
color_router.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
event_format.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
event_format_test.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
event_writer.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
event_writer_base.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
event_writer_conn.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
event_writer_conn_test.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
event_writer_console.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
event_writer_file.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
flags.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
flags_test.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
groutinelabel.go Update go dev dependencies (#22064) 2022-12-08 16:21:37 +08:00
groutinelabel_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
init.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
level.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
level_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
logger.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
logger_global.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
logger_impl.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
logger_test.go Fix flakey test in logger test (#24883) 2023-05-23 16:01:20 +00:00
manager.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
manager_test.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
misc.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
stack.go Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00