-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add docs for new console logging APIs #4918
Conversation
5bbad4f
to
c26a06f
Compare
cc: @safern |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc: @gewarren
Docs Build status updates of commit 5bbad4f:
|
Docs Build status updates of commit c26a06f:
|
closing in favor of #4925 (review) |
<param name="scopeProvider">The provider of scope data.</param> | ||
<param name="textWriter">The string writer embedding ansi code for colors.</param> | ||
<summary>Writes the log message to the specified TextWriter.</summary> | ||
<remarks>if the formatter wants to write colors to the console, it can do so by embedding ANSI color codes into the string.</remarks> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<remarks>if the formatter wants to write colors to the console, it can do so by embedding ANSI color codes into the string.</remarks> | |
<remarks>If the formatter wants to write colors to the console, it can do so by embedding ANSI color codes into the string.</remarks> |
<param name="logEntry">The log entry.</param> | ||
<param name="scopeProvider">The provider of scope data.</param> | ||
<param name="textWriter">The string writer embedding ansi code for colors.</param> | ||
<summary>Writes the log message to the specified TextWriter.</summary> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<summary>Writes the log message to the specified TextWriter.</summary> | |
<summary>Writes the log message to the specified text writer.</summary> |
@@ -34,7 +34,7 @@ | |||
<ReturnType>System.String</ReturnType> | |||
</ReturnValue> | |||
<Docs> | |||
<summary>To be added.</summary> | |||
<summary>Reserved name for json console formatter.</summary> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<summary>Reserved name for json console formatter.</summary> | |
<summary>The name reserved for the JSON console formatter.</summary> |
@@ -74,7 +74,7 @@ | |||
<ReturnType>System.String</ReturnType> | |||
</ReturnValue> | |||
<Docs> | |||
<summary>To be added.</summary> | |||
<summary>Reserved name for systemd console formatter</summary> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<summary>Reserved name for systemd console formatter</summary> | |
<summary>Reserved name for the systemd console formatter.</summary> |
@@ -14,7 +14,7 @@ | |||
</Base> | |||
<Interfaces /> | |||
<Docs> | |||
<summary>To be added.</summary> | |||
<summary>Reserved formatter names for the built-in console formatters.</summary> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<summary>Reserved formatter names for the built-in console formatters.</summary> | |
<summary>Provides reserved formatter names for the built-in console formatters.</summary> |
@@ -74,7 +75,7 @@ | |||
</ReturnValue> | |||
<MemberValue>1</MemberValue> | |||
<Docs> | |||
<summary>To be added.</summary> | |||
<summary>Enable color for logging.</summary> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<summary>Enable color for logging.</summary> | |
<summary>Use color for logging.</summary> |
@@ -14,7 +14,7 @@ | |||
</Base> | |||
<Interfaces /> | |||
<Docs> | |||
<summary>To be added.</summary> | |||
<summary>Options for the built-in default console log formatter.</summary> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<summary>Options for the built-in default console log formatter.</summary> | |
<summary>Specifies options for the built-in, default console log formatter.</summary> |
@@ -51,7 +51,7 @@ | |||
<ReturnType>Microsoft.Extensions.Logging.Console.LoggerColorBehavior</ReturnType> | |||
</ReturnValue> | |||
<Docs> | |||
<summary>To be added.</summary> | |||
<summary>Determines when to use color when logging messages.</summary> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<summary>Determines when to use color when logging messages.</summary> | |
<summary>Gets or sets a value that indicates when to use color for log messages.</summary> |
@@ -72,7 +72,7 @@ | |||
<ReturnType>System.Boolean</ReturnType> | |||
</ReturnValue> | |||
<Docs> | |||
<summary>To be added.</summary> | |||
<summary>When <see langword="true" />, the entire message gets logged in a single line.</summary> | |||
<value>To be added.</value> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<value>To be added.</value> | |
<value><see langword="true" />to log the entire message as a single line; otherwise, <see langword=false />.</value> |
@@ -72,7 +72,7 @@ | |||
<ReturnType>System.Boolean</ReturnType> | |||
</ReturnValue> | |||
<Docs> | |||
<summary>To be added.</summary> | |||
<summary>When <see langword="true" />, the entire message gets logged in a single line.</summary> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<summary>When <see langword="true" />, the entire message gets logged in a single line.</summary> | |
<summary>Gets or sets a value that indicates whether the entire message should be logged as a single line.</summary> |
Summary
Adds docs for new console logging APIs.
cc: @carlossanlop