diff options
Diffstat (limited to 'docs/content/doc')
-rw-r--r-- | docs/content/doc/advanced/logging-documentation.en-us.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/content/doc/advanced/logging-documentation.en-us.md b/docs/content/doc/advanced/logging-documentation.en-us.md index db8dcbba36..bef034e2e7 100644 --- a/docs/content/doc/advanced/logging-documentation.en-us.md +++ b/docs/content/doc/advanced/logging-documentation.en-us.md @@ -357,10 +357,10 @@ attributes should be cached if this is a commonly used log message. of bytes representing the color. These functions will not double wrap a `log.ColoredValue`. They will -also set the ResetBytes to the cached resetBytes. +also set the `resetBytes` to the cached `resetBytes`. -Be careful not to change the contents of resetBytes or boldBytes as this -will break rendering of logging elsewhere. You have been warned. +The `colorBytes` and `resetBytes` are not exported to prevent +accidental overwriting of internal values. ## Log Spoofing protection |