Skip to content

Commit

Permalink
Add helper
Browse files Browse the repository at this point in the history
  • Loading branch information
skjolber committed Jan 23, 2025
1 parent 123b1f4 commit 021d535
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ public static class OndemandConfiguration {

private ThreadLocalLoggingScopeFactory factory = new ThreadLocalLoggingScopeFactory();

@Bean
public LoggingScopeControls loggingScopeControls() {
return factory;
}

@Bean
@ConditionalOnMissingBean(LoggingScopeThreadUtils.class)
public LoggingScopeThreadUtils loggingScopeThreadUtils() {
Expand Down

0 comments on commit 021d535

Please sign in to comment.