public static T Indent <T>(this IPackageLog log, Func <T> action) { log.Indent(); try { return(action()); } finally { log.Unindent(); } }
public static void Indent(this IPackageLog log, Action action) { log.Indent(); try { action(); } finally { log.Unindent(); } }