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

Namespace:  BerkeleyDB
Assembly:  libdb_dotnet181 (in libdb_dotnet181.dll) Version: 18.1.32.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