DbXml::setLogLevel API Ref

#include <DbXml.hpp>

void DbXml::setLogLevel(LogLevel level, bool enabled)

void DbXml::setLogCategory(LogCategory category, bool enabled)

void DbXml::dbxml_version(int *majorp, int *minorp, int *patchp)


Description: DbXml::setLogLevel

Berkeley DB XML can be configured to generate a stream of messages to help application debugging. The messages are categorized by subsystem, and by importance. The messages are sent to the output stream that is configured in the Berkeley DB environment associated with the XmlManager generating the message. The output is sent to std::cerr if no environment is associated with the XmlManager.

Parameters
level enabled

Description: DbXml::setLogCategory(LogCategory category, bool enabled)

Berkeley DB XML can be configured to generate a stream of messages to help application debugging. The messages are categorized by subsystem, and by importance. The messages are sent to the output stream that is configured in the Berkeley DB environment associated with the XmlManager generating the message. The output is sent to std::cerr if no environment is associated with the XmlManager.

Parameters
category enabled

Description: DbXml::dbxml_version(int *majorp, int *minorp, int *patchp)

Returns the Berkeley DB XML release number.

Parameters
majorp minorp patchp

APIRef

Copyright (c) 1996-2009 Oracle. All rights reserved.