Logs the string value of the returned object with a specified log level. This allows
you to log different content for each document depending on the input document.
- Namespace
- Statiq
.Core - Containing Type
- LogMessage
Syntax
public LogMessage(LogLevel logLevel, Config<string> content)
Parameters
Name | Type | Description |
---|---|---|
logLevel | LogLevel | The log level. |
content | Config |
A delegate that returns the content to context.Log. |