Component Enabler automatically writes its own entries to the log file, but you can add user entries using the following code:
mvarLogObject.def.Log "User Entry", LogLevel, MsgText
In this example, User Entry is used to distinguish this entry as a user-defined entry rather than an automatically generated entry. This could be replaced with suitable text to indicate the type of logging entry. The actual message to be logged is held in the string variable MsgText.