Skip to content

Add Get-CompactFormatter #48

@ZenoArrow

Description

@ZenoArrow

I'd like to use Serilog.Formatting.Compact with PoShLog. I think it makes sense to expose this in a similar way to the way [Serilog.Formatting.Json.JsonFormatter] objects are generated using Get-JsonFormatter. I may have a go at sorting this myself if nobody else picks this up.

One advantage of the CLEF log format that is generated using Serilog.Formatting.Compact is there are a bunch of tools that work with logs in the CLEF format. It is also easy to understand as plaintext after reviewing this description of the file format:

https://clef-json.org/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions