mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 21:33:22 +08:00
Use Logger.Storage
rather than locally querying
This commit is contained in:
parent
4c2819dbc2
commit
51de98f341
@ -7,6 +7,7 @@ using osu.Framework.Allocation;
|
||||
using osu.Framework.Extensions;
|
||||
using osu.Framework.Graphics.Sprites;
|
||||
using osu.Framework.Localisation;
|
||||
using osu.Framework.Logging;
|
||||
using osu.Framework.Platform;
|
||||
using osu.Framework.Screens;
|
||||
using osu.Game.Configuration;
|
||||
@ -79,7 +80,7 @@ namespace osu.Game.Overlays.Settings.Sections.General
|
||||
Keywords = new[] { @"bug", "report", "logs", "files" },
|
||||
Action = () =>
|
||||
{
|
||||
var logStorage = storage.GetStorageForDirectory(@"logs");
|
||||
var logStorage = Logger.Storage;
|
||||
|
||||
const string archive_filename = "exports/compressed-logs.zip";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user