uLog

0.2.2.1

Easy log management for scripts
+ Provide simple log-* functions to add log to yours scripts
+ Use handlers for logging on console, file, event log
+ eventlog handler provide information to identify the source script, level, username
                   support -Keep parameter to send the messages in only on event

Minimum PowerShell version

3.0

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name uLog

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name uLog

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2017 Sebastien KAIFFER. All rights reserved.

Package Details

Author(s)

  • Sebastien KAIFFER

Tags

Log logger logging

Functions

Get-Header New-uLog New-LogRecord Write-Log Start-BuildFunctions Log-Trace Log-Verbose Log-Debug Log-Success Log-Info Log-Information Log-Warn Log-Warning Log-Error Log-Critical Log-Fatal New-uLogConsole New-uLogFile Get-EventLevel New-uLogEventLog New-uLogMail Format-FileDefault Format-FileNoIndent Format-EventlogDefault Format-ConsoleDefault Format-MailDefault Format-ccmtrace

Dependencies

This module has no dependencies.

Release Notes

0.2.2.1 Debug in mail.psm1, if no credentials are provided
0.2.2.0 Debug for PowerShell 3.0
Add event handler on PowerShell closing, so log handlers are flushed
0.2.1.0 Add mail handler,
Add ccmtrace (trace32) formatter
Debug,
code refactoring
support for -Keep
0.2.0.2 Debug Level in New-LogRecord. Cast to [LogLevel], previously it was a [String] and generate a bug when comparing log levels
0.2.0.1 Add support for log level
0.2.0.1 Add support to exclude handlers with -Exclude parameter

FileList

Version History

Version Downloads Last updated
0.2.2.1 (current version) 636 4/5/2018
0.2.2.0 159 7/2/2017
0.2.1.0 101 3/7/2017
0.2.0.2 52 1/25/2017
0.2.0.1 25 1/15/2017
0.2.0.0 29 1/5/2017
0.1.0.1 27 12/24/2016
0.1.0.0 25 12/21/2016
Show more