functions/core/Close-Logger.ps1

function Close-Logger{
    [Serilog.Log]::CloseAndFlush()
}