updated extensino method to prefix the type name better.

This commit is contained in:
Shannon Deminick
2013-05-12 18:17:53 -10:00
parent 09a6cdc8b6
commit 3fd3bf0fda

View File

@@ -13,7 +13,7 @@ namespace Umbraco.Core.Profiling
/// <returns></returns>
public static IDisposable Step<T>(this IProfiler profiler, string name)
{
return profiler.Step(string.Format(typeof (T).Name + ", " + name));
return profiler.Step(string.Format("[" + typeof (T).Name + "] " + name));
}
}
}