LogLine
The LogLine activity uses the Anthology logging infrastructure as opposed to the WriteLine (see Primitives), which only writes to the Windows console. LogLine is useful for processes such as IIS, Anthology Student, and Windows services that are not executing in console mode.
Properties
Property | Value | Required | Notes |
---|---|---|---|
DisplayName | String
|
No | Specify a name for the activity or accept the default. |
Level | LoggerLevel
|
Yes | Select a trace level from the drop-down list. The options are:
|
Text | InArgument<String>
|
Yes | Input text string to include in the log file. |
To see how this activity can be used in a workflow, refer to
For information about configuring logging, refer to NLog.