Skip to content

Commit

Permalink
Debug content.
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonAquitaine committed Nov 10, 2023
1 parent 2319a83 commit d65dcf7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Zen.Storage/Cache/Local.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ public static string Write(string key, Stream source)
var targetFile = Path.Combine(BasePath, key);
Directory.CreateDirectory(Path.GetDirectoryName(targetFile));

Log.KeyValuePair("Local Cache Write", targetFile, Base.Module.Log.Message.EContentType.Debug);

using (var fileStream = File.Create(targetFile))
{
source.Seek(0, SeekOrigin.Begin);
Expand Down

0 comments on commit d65dcf7

Please sign in to comment.