OpenSim::Data::MSSQL::MSSQLLogData Class Reference

An interface to the log database for MSSQL. More...

Inheritance diagram for OpenSim::Data::MSSQL::MSSQLLogData:

OpenSim::Data::ILogDataPlugin OpenSim::Framework::IPlugin List of all members.

Public Member Functions

void Initialise (string connect)
 Artificial constructor called when the plugin is loaded.
void saveLog (string serverDaemon, string target, string methodCall, string arguments, int priority, string logMessage)
 Saves a log item to the database.
void Dispose ()
 Closes the database provider.

Public Attributes

MSSQLManager database
 The database manager.

Properties

string Name [get]
 Returns the name of this DB provider.
string Version [get]
 Returns the version of this DB provider.

Detailed Description

An interface to the log database for MSSQL.


Member Function Documentation

void OpenSim::Data::MSSQL::MSSQLLogData::Initialise ( string  connect  )  [inline]

Artificial constructor called when the plugin is loaded.

Implements OpenSim::Data::ILogDataPlugin.

void OpenSim::Data::MSSQL::MSSQLLogData::saveLog ( string  serverDaemon,
string  target,
string  methodCall,
string  arguments,
int  priority,
string  logMessage 
) [inline]

Saves a log item to the database.

Parameters:
serverDaemon The daemon triggering the event
target The target of the action (region / agent UUID, etc)
methodCall The method call where the problem occured
arguments The arguments passed to the method
priority How critical is this?
logMessage The message to log

Implements OpenSim::Data::ILogDataPlugin.

void OpenSim::Data::MSSQL::MSSQLLogData::Dispose (  )  [inline]

Closes the database provider.


Member Data Documentation

MSSQLManager OpenSim::Data::MSSQL::MSSQLLogData::database

The database manager.


Property Documentation

string OpenSim::Data::MSSQL::MSSQLLogData::Name [get]

Returns the name of this DB provider.

Returns:
A string containing the DB provider name

Implements OpenSim::Framework::IPlugin.

string OpenSim::Data::MSSQL::MSSQLLogData::Version [get]

Returns the version of this DB provider.

Returns:
A string containing the provider version

Implements OpenSim::Framework::IPlugin.


The documentation for this class was generated from the following file:
Generated on Mon Jan 5 01:00:38 2009 for OpenSim by  doxygen 1.5.1