mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 13:55:35 +08:00
Add "debug script log" command to allow setting a numeric debug level on individual IScriptInstances for debugging purposes.
Current, state changes and event fires can be logged for individual scripts. See command help for more details.
This commit is contained in:
@@ -58,6 +58,18 @@ namespace OpenSim.Region.ScriptEngine.Interfaces
|
||||
/// </summary>
|
||||
public interface IScriptInstance
|
||||
{
|
||||
/// <summary>
|
||||
/// Debug level for this script instance.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Level == 0, no extra data is logged.
|
||||
/// Level >= 1, state changes are logged.
|
||||
/// Level >= 2, event firing is logged.
|
||||
/// <value>
|
||||
/// The debug level.
|
||||
/// </value>
|
||||
int DebugLevel { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Is the script currently running?
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user