Navigation: Object Model Reference > Builder Object > LogMessage2 Method |
|
Logs a message to the build output.
Syntax
builder.LogMessage2(ByVal message As String, ByVal level As LogLevelEnum = vbldLogLevelDetailed, ByVal status As StepStatusEnum = vbldStepStatSucceeded, ByVal appendCrLf As Boolean = True) As StepStatusEnum
Arguments
builder
Builder object
message
Required. The message to log.
level
Optional. The level of this message. The level specified and the globally configured logging level will determine whether the message will be included in the console output, build log file, and Output pane. If the specified level is less than or equal to the configured log level, the message will be logged.
status
Optional. The status to return from the function.
appendCrLf
Optional. Whether to add a newline to the log output after the message.
See Also
Applies to Builder object