Skip to content

Commit e5b6edf

Browse files
committed
Added verbose SQL formatting
1 parent 9155f6c commit e5b6edf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

InkyCal.Server/Startup.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public void ConfigureServices(IServiceCollection services)
159159
(options.Storage as MemoryCacheStorage).CacheDuration = TimeSpan.FromMinutes(60);
160160

161161
// (Optional) Control which SQL formatter to use, InlineFormatter is the default
162-
options.SqlFormatter = new StackExchange.Profiling.SqlFormatters.InlineFormatter();
162+
options.SqlFormatter = new StackExchange.Profiling.SqlFormatters.VerboseSqlServerFormatter(includeMetaData:true);
163163

164164
// (Optional) To control authorization, you can use the Func<HttpRequest, bool> options:
165165
// (default is everyone can access profilers)

0 commit comments

Comments
 (0)