-
Notifications
You must be signed in to change notification settings - Fork 245
Fix comments, typos and add property validation to Microsoft.Extensions.Logging.AzureAppServices #509
Conversation
get { return _blobName; } | ||
set | ||
{ | ||
if (value == null) |
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.
Is empty string fine?
b33b434
to
50a3881
Compare
|
||
/// <summary> | ||
/// Gets or sets a time to wait between checking for blob log batches. | ||
/// Gets or sets a time to wait between checking for blob log batches. Defaults to 5 seconds. |
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.
Newline and <c></c>
?
/// <summary> | ||
/// Gets or sets a strictly positive value representing the maximum log size in bytes. Once the log is full, no more message will be appended. | ||
/// Gets or sets a strictly positive value representing the maximum log size in bytes. | ||
/// Once the log is full, no more message will be appended. |
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.
messages
🚢 🇮🇹 |
50a3881
to
bde89a0
Compare
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.
@pakrym please address these comments too.
get { return _outputTemplate; } | ||
set | ||
{ | ||
if (string.IsNullOrWhiteSpace(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.
Argh, why are we checking for whitespace??
get { return _blobName; } | ||
set | ||
{ | ||
if (string.IsNullOrWhiteSpace(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.
Ditto.
{ | ||
if (value < 0) | ||
{ | ||
throw new ArgumentOutOfRangeException(nameof(value), $"{nameof(BackgroundQueueSize)} must be positive or 0."); |
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.
... must be non-negative.
Fixes: #508 #506 #507