Skip to content

Latest commit

 

History

History
53 lines (31 loc) · 1.95 KB

README.md

File metadata and controls

53 lines (31 loc) · 1.95 KB

PoShLog.Sinks.Seq

psgallery PowerShell Gallery psgallery Discord

PoShLog.Sinks.Seq is extension module for PoShLog logging module. Contains sink that publishes log messages to Seq.

Getting started

If you are familiar with PowerShell, skip to Installation section. For more detailed installation instructions check out Getting started wiki.

Installation

To install PoShLog.Sinks.Seq, run following snippet from powershell:

Install-Module -Name PoShLog.Sinks.Seq

Usage

Import-Module PoShLog
Import-Module PoShLog.Sinks.Seq

New-Logger |
    Add-SinkSeq -ServerUrl 'http://localhost:5341' |
    Start-Logger

Write-InfoLog 'Hurrray, my first log message in seq!'

# Don't forget to close the logger
Close-Logger

Documentation

These examples are just to get you started fast. For more detailed documentation please check wiki.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details.

Credits