mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 20:22:55 +08:00
Update method name and conditions
This commit is contained in:
parent
fa3f53f39f
commit
794a131954
@ -188,7 +188,7 @@ namespace osu.Game
|
||||
{
|
||||
this.args = args;
|
||||
|
||||
forwardRuntimeLogsToNotifications();
|
||||
forwardGeneralLogsToNotifications();
|
||||
forwardTabletLogsToNotifications();
|
||||
|
||||
SentryLogger = new SentryLogger(this);
|
||||
@ -994,7 +994,7 @@ namespace osu.Game
|
||||
overlay.Depth = (float)-Clock.CurrentTime;
|
||||
}
|
||||
|
||||
private void forwardRuntimeLogsToNotifications()
|
||||
private void forwardGeneralLogsToNotifications()
|
||||
{
|
||||
int recentLogCount = 0;
|
||||
|
||||
@ -1002,7 +1002,7 @@ namespace osu.Game
|
||||
|
||||
Logger.NewEntry += entry =>
|
||||
{
|
||||
if (entry.Level < LogLevel.Important || entry.Target == null) return;
|
||||
if (entry.Level < LogLevel.Important || entry.Target > LoggingTarget.Database) return;
|
||||
|
||||
const int short_term_display_limit = 3;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user