Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kurtschindler/1114440 to your computer and use it in GitHub Desktop.
Save kurtschindler/1114440 to your computer and use it in GitHub Desktop.
NHibernateQueryAppender for log4net and Glimpse plugin
public class NHibernateQueryAppender : AppenderSkeleton
{
protected override void Append(LoggingEvent loggingEvent)
{
SqlLogger.AddSql(loggingEvent.RenderedMessage);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment