Skip to content

Use PSFramework for logging #84

Open
@SQLDBAWithABeard

Description

@SQLDBAWithABeard

Using Write-Message for output will cause issues where users also have a Write-Message command in their session.

It also restricts the ability to provide granular functionality for outputting messages

It also restricts the type of logging available.

I suggest following dbatools and dbachecks example and using PSFramework for logging, this will enable exactly the same current functionality for output to the user, whilst adding further opportunities for logging (SQL Database, Azure blob storage, KQL, Log Analytics for example) which will be highly beneficial in automated processes

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions