Created
July 29, 2011 18:38
-
-
Save kurtschindler/1114440 to your computer and use it in GitHub Desktop.
NHibernateQueryAppender for log4net and Glimpse plugin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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