ccremer / plogr Goto Github PK
View Code? Open in Web Editor NEWgo-logr implementation with pterm
License: Apache License 2.0
go-logr implementation with pterm
License: Apache License 2.0
Currently, when supplying keys and values, the order of the logged keys and values and differ between same invocation, for example:
DBUG/2 Extracting file (dest="documents/2020/none/file1.pdf" source="2020/none/file1.pdf")
DBUG/2 Extracting file (source="2022/none/file2.pdf" dest="documents/2022/none/file2.pdf")
The reason is that the backing implementation type that holds these values is a map
. Go doesn't guarantee a specific order when iterating over a map
, thus we can end up with different order logged.
This isn't exactly nice, so we should try to keep the existing order as they were entered, or at least sort by key name.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
This repository currently has no open or pending branches.
.github/workflows/lint.yml
actions/checkout v3
actions/setup-go v3
actions/cache v3
.github/workflows/release.yml
actions/checkout v3
mikepenz/release-changelog-builder-action v3
ncipollo/release-action v1
.github/workflows/test.yml
actions/checkout v3
actions/setup-go v3
actions/cache v3
codecov/codecov-action v3
creekorful/goreportcard-action v1.0
go.mod
go 1.16
github.com/go-logr/logr v1.2.3
github.com/pterm/pterm v0.12.51
github.com/stretchr/testify v1.8.1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.