functions/core/New-Logger.ps1

function New-Logger {
    <#
    .SYNOPSIS
        Creates new logger
    .DESCRIPTION
        Creates instance of serilog logger configuration
    .INPUTS
        None. You cannot pipe objects to New-Logger
    .OUTPUTS
        Instance of LoggerConfiguration object allowing method chaining
    .EXAMPLE
        PS> New-Logger
    #>


    New-Object Serilog.LoggerConfiguration
}