OpenSim::Data::MySQL::MySQLLogData Class Reference

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

Inheritance diagram for OpenSim::Data::MySQL::MySQLLogData:

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

Public Member Functions

void Initialise ()
 Default-initialises the plugin.
void Initialise (string connect)
 Artificial constructor called when the plugin is loaded Uses the obsolete mysql_connection.ini if connect string is empty.
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

MySQLManager 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 MySQL.


Member Function Documentation

void OpenSim::Data::MySQL::MySQLLogData::Initialise (  )  [inline]

Default-initialises the plugin.

Implements OpenSim::Framework::IPlugin.

void OpenSim::Data::MySQL::MySQLLogData::Initialise ( string  connect  )  [inline]

Artificial constructor called when the plugin is loaded Uses the obsolete mysql_connection.ini if connect string is empty.

Parameters:
connect connect string

Implements OpenSim::Data::ILogDataPlugin.

void OpenSim::Data::MySQL::MySQLLogData::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::MySQL::MySQLLogData::Dispose (  )  [inline]

Closes the database provider.

do nothing


Member Data Documentation

MySQLManager OpenSim::Data::MySQL::MySQLLogData::database

The database manager.


Property Documentation

string OpenSim::Data::MySQL::MySQLLogData::Name [get]

Returns the name of this DB provider.

Returns:
A string containing the DB provider name

Implements OpenSim::Framework::IPlugin.

string OpenSim::Data::MySQL::MySQLLogData::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 Tue Jan 6 01:00:46 2009 for OpenSim by  doxygen 1.5.1