You are here: Configuration > Common Configuration > Changing the Output Stream

Changing the Output Stream

Normally the debug messages of db4o are printed to the default console. However you can configure db4o to send the information to any output stream:

IEmbeddedConfiguration configuration = Db4oEmbedded.NewConfiguration();
configuration.Common.OutStream = Console.Out;
CommonConfigurationExamples.cs: Change the output stream
Dim configuration As IEmbeddedConfiguration = Db4oEmbedded.NewConfiguration()
configuration.Common.OutStream = Console.Out
CommonConfigurationExamples.vb: Change the output stream