Public/Log/LogConfiguration.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
$LogConfiguration = [PSCustomObject]@{
    # Logging level threshold - Debug, Info, Warn, Error
    LogLevel = "Info";

    # Path to file log or $null if shouldn't log to file.
    LogFile = $null;

    # Name of Event Log Source to log to or $null if shouldn't log to Event Log.
    LogEventLogSource = $null;         

    # Logging level threshold for Event Log - available values: DEBUG, INFO, WARN, ERROR.
    # This would normally have higher threshold than LogLevel.
    LogEventLogThreshold = "Error"; 
}