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
Owners
Copyright
(c) 2017 Sebastien KAIFFER. All rights reserved.
Package Details
Author(s)
- Sebastien KAIFFER
Tags
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
- uLog.nuspec
- log_levels.txt
- uLog.psd1
- uLog.psm1
- en-US\about_uLog.help.txt
- en-US\help.docx
- formatters\ccmtrace.psm1
- formatters\console.psm1
- formatters\eventlog.psm1
- formatters\file-noindent.psm1
- formatters\file.psm1
- formatters\formatters.000.psd1
- formatters\formatters.psd1
- formatters\formatters.psm1
- formatters\mail.psm1
- formatters\sample\LiteTouch.log
- handlers\console.psm1
- handlers\eventlog.psm1
- handlers\file.psm1
- handlers\handlers.000.psd1
- handlers\handlers.psd1
- handlers\mail.psm1
- test\02.eventlog.ps1
- test\03.file.ps1
- test\04.eventlog_file.ps1
- test\05.disableLog.ps1
- test\06.module.psm1
- test\07.with_Levels.ps1
- test\08.default_Handler.ps1
- test\09.log_levels.ps1
- test\10.log_header.ps1
- test\11.log_keep_data.ps1
- test\12.log_Include.ps1
- test\13.log_mail.ps1
- test\14.file-ccm.ps1
- test\14.file-ccm.ps1.log
- test\test.ps1
- test\test.psm1