LoggingHelper
Description
PowerShell module for standardized logging and automation workflows.
Link to the Code
Features
- Standardized logging for automation scripts and workflows.
- Timer-based logging for performance measurement.
- Cache-based logging for temporary data storage.
- Integration with external systems like Marvin for output processing.
Functions
Logging
Write-Log: Writes log entries with customizable severity levels.Start-LogTimer: Starts a timer for performance measurement.Stop-LogTimer: Stops the timer and logs the elapsed time.Get-LogTimer: Retrieves the current timer value.Get-LogCache: Retrieves cached log entries.
Output Processing
Out-Marvin: Sends output to Marvin for further processing.processInfoOutput: Processes and formats information for logging or output.
Roadmap
- Add support for advanced logging configurations.
- Enhance integration with external systems like Intune and SentinelOne.
- Improve reporting capabilities for log analysis.
Changelog
- 15/02/2019: Initial release of the module.
- 01/04/2025: Updated functions and documentation.