addWarningListener method

Syntax
public void addWarningListener( LogListener ll )
Remarks

Adds the specified LogListener to receive a notification when a warning is printed.

The following method is called: LogListener.messageLogged(ianywhere.ml.script.ServerContext, ianywhere.ml.script.LogMessage).

Parameters
  • ll   The LogListener to notify.

Example

See: LogMessage class.