IConfiguration.

SetOut(TextWriter) Method

Summary

Assigns a System.IO.TextWriter where db4o is to print its event messages.

Messages are useful for debugging purposes and for learning to understand, how db4o works. The message level can be raised with Db4objects.Db4o.Config.IConfiguration.MessageLevel(System.Int32) to produce more detailed messages.

Use
setOut(System.out)
to print messages to the console.

In client-server environment this setting should be used on the same side where Db4objects.Db4o.Config.IConfiguration.MessageLevel(System.Int32) is used.

Syntax

void SetOut(TextWriter outStream)

Parameters

Name Type Description
outStream TextWriter the new PrintStream for messages.

Return Value

Type Description
void

See Also

  • Db4objects.Db4o.Config.IConfiguration.MessageLevel(System.Int32)