Skip to content

Commit 39aec40

Browse files
formatting
1 parent 7ca9df7 commit 39aec40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Extensions/AzureBlob/Cosmos.DataTransfer.AzureBlobStorage/AzureBlobDataSink.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public async Task WriteToTargetAsync(Func<Stream, Task> writeToStream, IConfigur
5252
{
5353
if (DateTime.UtcNow - lastLogTime >= logInterval)
5454
{
55-
logger.LogInformation("{BlobName}: transferred {TotalMiB} MiB to Azure Blob", settings.BlobName, (double) l / 1024/1024);
55+
logger.LogInformation("{BlobName}: transferred {TotalMiB:F2} MiB to Azure Blob", settings.BlobName, (double) l / 1024/1024);
5656
lastLogTime = DateTime.UtcNow;
5757
}
5858

@@ -70,7 +70,7 @@ public async Task WriteToTargetAsync(Func<Stream, Task> writeToStream, IConfigur
7070
{
7171
var totalMib = (double) totalBytes / 1024 / 1024;
7272

73-
logger.LogInformation("{BlobName}: transferred {TotalMiB} Mib to Azure Blob in {TotalTime} seconds.", settings.BlobName, totalMib, swWrite.Elapsed.Seconds);
73+
logger.LogInformation("{BlobName}: transferred {TotalMiB:F2} Mib to Azure Blob in {TotalTime} seconds.", settings.BlobName, totalMib, swWrite.Elapsed.Seconds);
7474
}
7575
}
7676

0 commit comments

Comments
 (0)