Skip to content

Commit

Permalink
Display the Unity Version Control versions in the Message Log
Browse files Browse the repository at this point in the history
  • Loading branch information
SRombautsU committed Oct 11, 2023
1 parent 739b59c commit 76d8f94
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,14 @@ void FPlasticSourceControlProvider::Init(bool bForceConnection)
if (Plugin.IsValid())
{
PluginVersion = Plugin->GetDescriptor().VersionName;
UE_LOG(LogSourceControl, Log, TEXT("Unity Version Control (formerly Plastic SCM) plugin '%s'"), *PluginVersion);
UE_LOG(LogSourceControl, Log, TEXT("Unity Version Control (formerly Plastic SCM) plugin %s"), *PluginVersion);
}

CheckPlasticAvailability();

FMessageLog("SourceControl").Info(FText::Format(LOCTEXT("PluginVersion", "Unity Version Control (formerly Plastic SCM) {0} (plugin {1})"),
FText::FromString(PlasticScmVersion.String), FText::FromString(PluginVersion)));

// Override the source control logs verbosity level if needed based on settings
if (AccessSettings().GetEnableVerboseLogs())
{
Expand Down

0 comments on commit 76d8f94

Please sign in to comment.