Constructs a new SqlStatementLogger instance.

Namespace: NHibernate.AdoNet.Util
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public SqlStatementLogger(
	bool logToStdout,
	bool formatSql
)
Visual Basic
Public Sub New ( _
	logToStdout As Boolean, _
	formatSql As Boolean _
)
Visual C++
public:
SqlStatementLogger(
	bool logToStdout, 
	bool formatSql
)

Parameters

logToStdout
Type: System..::..Boolean
Should we log to STDOUT in addition to our internal logger.
formatSql
Type: System..::..Boolean
Should we format SQL ('prettify') prior to logging.

See Also