IForeRuntime.ExternReferenceLogger

Syntax

ExternReferenceLogger: IExternReferenceLogger;

Description

The ExternReferenceLogger property returns logging settings of external links counter changes.

Example

Add a link to the Fore system assembly.

Sub UserProc;
Var
    Mb: IMetabase;
    ExtLogger: IExternReferenceLogger;
    
//...
Begin
    Mb := MetabaseClass.Active;
    ExtLogger := (Mb 
As IForeServices).GetRuntime.ExternReferenceLogger;
    ExtLogger.Collapse := 
True;
    ExtLogger.Enable := 
True;
    ExtLogger.ObjectIndexing := 
True;
    
//...
    // Executable application code
    //...
    ExtLogger.Enable := False;
    ExtLogger.SaveToFile(
"D:\ExtLog.txt");
    
//...
    // Continuation of application code
    //...
End Sub UserProc;

The specified example displays how to activate logging of external links counter changes in the application code and then to save obtained log to the file.

See also:

IForeRuntime