Append an informational message to the Berkeley DB database environment log files.

Namespace:  BerkeleyDB
Assembly:  libdb_dotnet48 (in libdb_dotnet48.dll) Version: 4.8.24.0

Syntax

C#
public void WriteToLog(
	string str,
	Transaction txn
)
Visual Basic (Declaration)
Public Sub WriteToLog ( _
	str As String, _
	txn As Transaction _
)
Visual C++
public:
void WriteToLog(
	String^ str, 
	Transaction^ txn
)

Parameters

str
Type: System..::.String
The message to append to the log files
txn
Type: BerkeleyDB..::.Transaction
If the operation is part of an application-specified transaction, txn is a Transaction object returned from BeginTransaction()()(); otherwise null.

See Also