How captainqwerty/pslogwriter works
PSLogWriter is a small PowerShell logging module. A script imports it, creates a log object, and calls its entry methods; enabled destinations receive the log output. The README documents standard and custom entry types, date formatting, console color, and independently configurable file, console, and system logging. No source excerpts were provided, so implementation responsibilities share the module path and the relationships shown here are limited to those documented in the README.
Main entry points: PSLogWriter.psm1 Log Object
Components 8
Logging API
- Log Object
PSLogWriter.psm1 - Entry Types & Format
PSLogWriter.psm1
Log Destinations
- Log File
PSLogWriter.psm1 - Console Output
PSLogWriter.psm1 - System Logging
PSLogWriter.psm1
Other components
- PowerShell Script
- Windows Event Log
- Linux syslog
Connections 7
- PowerShell Script → Log Object: creates and calls
README.md - Log Object → Entry Types & Format: accepts entries
README.md - Log Object → Log File: writes optionally
README.md - Log Object → Console Output: logs optionally
README.md - Log Object → System Logging: logs optionally
README.md - System Logging → Windows Event Log: uses on Windows
README.md - System Logging → Linux syslog: uses on Linux
README.md