Skip to content

docs: fix Warn/Warning key mismatch in guides/logging.md #41

@HeyItsGilbert

Description

@HeyItsGilbert

Summary

The logging guide example uses the key Warning when the correct key (matching the Effect enum and the Configuration.psd1 structure) is Warn. The example line is a silent no-op.

File

guides/logging.md:80

Current (wrong)

$config.Logging.Warning.Enabled = $true

Fix

$config.Logging.Warn.Enabled = $true

If Issue #15 is resolved by renaming the config key to match Warning, this guide should use Warning instead.

Notes

  • Good first issue
  • Found by Shawn Wee!-ler and Sage Nakamura

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions