add configuration to information string.

This commit is contained in:
Sebastian Burckhardt 2020-12-04 16:29:46 -08:00
Родитель a0703fa660
Коммит 953e3d4873
1 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -73,7 +73,12 @@ namespace DurableTask.Netherite
/// <inheritdoc/>
public override string ToString()
{
return $"NetheriteOrchestrationService on {this.configuredTransport}Transport and {this.configuredStorage}Storage";
#if DEBUG
string configuration = "Debug";
#else
string configuration = "Release";
#endif
return $"NetheriteOrchestrationService on {this.configuredTransport}Transport and {this.configuredStorage}Storage, {configuration} build";
}
/// <summary>