0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-06 14:19:03 +01:00
gitea/modules/log
wxiaoguang 395bb33e4c
Merge different languages for language stats (#24900)
Fix #24896

If users set different languages by `linguist-language`, the `stats` map
could be: `java: 100, Java: 200`.

Language stats are stored as case-insensitive in database and there is a
unique key.

So, the different language names should be merged to one unique name:
`Java: 300`
2023-05-24 19:37:36 +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 Merge different languages for language stats (#24900) 2023-05-24 19:37:36 +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