C# Class EAAddinFramework.Utilities.EAOutputLogger

Description of EAOutputLogger.
Exibir arquivo Open project: GeertBellekens/Enterprise-Architect-Add-in-Framework

Public Methods

Method Description
clearLog ( Model model, string outputName ) : void
log ( Model model, string outputName, string message, int elementID, LogTypeEnum logType = LogTypeEnum.none ) : void

log a message to the EA output window. If requested the message will also be logged to the logfile

Private Methods

Method Description
EAOutputLogger ( Model model, string outputName ) : System

private constructor

clear ( ) : void
getOutputLogger ( Model model, string outputName ) : EAOutputLogger
logToOutput ( string message, int elementID ) : void

Method Details

clearLog() public static method

public static clearLog ( Model model, string outputName ) : void
model TSF.UmlToolingFramework.Wrappers.EA.Model
outputName string
return void

log() public static method

log a message to the EA output window. If requested the message will also be logged to the logfile
public static log ( Model model, string outputName, string message, int elementID, LogTypeEnum logType = LogTypeEnum.none ) : void
model TSF.UmlToolingFramework.Wrappers.EA.Model the model on which to show the output
outputName string the name of the output window
message string the message to show
elementID int the element ID to associate with the message. Can be used by add-ins when they implement EA_OnOutput...
logType LogTypeEnum the type of logging to the logfile
return void