LogPath
Returns the path to the log file or NT event-log source established by StartLogging. Read-only.
Syntax: object.LogPath
- object
- required An object expression that evaluates to an _App object. In practice this is the global App object.
LogPath reflects the LogTarget argument passed to the most recent call to StartLogging. Before StartLogging has been called, LogPath returns an empty string.
Note
LogPath is not yet implemented in twinBASIC. Reading the property always returns an empty string regardless of whether StartLogging has been called.
See Also
- StartLogging method
- LogEvent method
- LogMode property