ICommonConfiguration.

OutStream Property

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
outStream(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

TextWriter OutStream { set; }

Value

Type Description
TextWriter the new PrintStream for messages.

See Also

  • MessageLevel(int)