1
0
Fork 0
Commit Graph

40 Commits (main)

Author SHA1 Message Date
Brian Picciano e8376ef263 Rename package name to code.betamike.com location 5 months ago
Brian Picciano 7c425e25cb Fixes from golangci-lint 5 months ago
Brian Picciano 9567a98606 Move massert into internal, and simplify it a lot 5 months ago
Brian Picciano 47c8c5b850 mlog: Make default message handler human readable 8 months ago
Brian Picciano 07f3889a70 mlog: MaxLevel method 2 years ago
Brian Picciano ec5e2441c6 mlog: Add WithMaxLevel method 2 years ago
Brian Picciano cbeee71cb1 Add FatalString method, make Fatal take an error 2 years ago
Brian Picciano ba9bc6c46c refactor mlog and merr to handle and format error messages better 3 years ago
Brian Picciano 360d41e2b8 Refactor merr, remove almost everything else 3 years ago
Brian P 3e2713a850 Get rid of mcmp, and lots of subsequent refactors 3 years ago
Brian Picciano 1a6b8e3166 mlog: clean up component code and add tests for it 5 years ago
Brian Picciano 7a5ac9caa0 totp-proxy: refactor to use new Component logic 5 years ago
Brian Picciano e91ef01857 m: refactor to use new Component stuff, and make the log logic a bit better 5 years ago
Brian Picciano 7eac20f58b mlog: refactor From to include Component's Context implicitly 5 years ago
Brian Picciano 8bd0664ba0 mlog: refactor to use Components instead of Contexts for storing Logger 5 years ago
Brian Picciano f5cea76cb7 mtest/massert: rename a bunch of functions 5 years ago
Brian Picciano e1e52db208 refactor everything to use context's annotation system, making some significant changes to annotations themselves along the way 5 years ago
Brian Picciano 4b446a0efc mctx: refactor so that contexts no longer carry mutable data 5 years ago
Brian Picciano 15b84cb173 mlog: implement LevelFromString 5 years ago
Brian Picciano 20c6f95091 mlog: refactor to use Clone/Set instead of With pattern, implement CtxSetAll 5 years ago
Brian Picciano a24262f295 mlog: update function docs 5 years ago
Brian Picciano e9416dbe2a mlog: update package doc example 5 years ago
Brian Picciano 0e80e1fd3d mlog: remove ErrKV/ErrWithKV, merr.KV/merr.WithValue are used instead 5 years ago
Brian Picciano 33a10a4ac7 mlog: make the map returned from a KVer be read-only and allowed to be nil 5 years ago
Brian Picciano 1562c4e8f6 mlog: redefine KVer to return a map[string]interface, not a KV, to allow other packages to implement KVer without importing mlog 5 years ago
Brian Picciano 57db101c02 mlog: add Logger.WithKV, slightly change Message type to support it 5 years ago
Brian Picciano 0ef6997f40 mlog: fix bug which caused the DefaultHandler to not ever call Flush 5 years ago
Brian Picciano 2f647017b9 mlog: add CtxSet and From functions 6 years ago
Brian Picciano 2e269bb6e7 mlog: refactor to use a Stringer for Message.Description 6 years ago
Brian Picciano b5c676b5c8 mlog: complete refactor again, eliminating the go-routine, which allowed a lot of other things to fall into place nicely 6 years ago
Brian Picciano 5c85969bc7 mlog: use a Clone and Set methods instead of With methods 6 years ago
Brian Picciano d9480abb59 mlog: make stopping logic a little better 6 years ago
Brian Picciano bc8f323514 mlog: use a waitgroup to flush the Logger on Stop 6 years ago
Brian Picciano 8368d0881b mlog: change how Merge/MergeInto work, so they don't evaluate the KV immediately 6 years ago
Brian Picciano f0032a19d1 mlog: refactor tests to use massert 6 years ago
Brian Picciano 23d1a8fc91 mdb: implement BigQuery type, needs tests 6 years ago
Brian Picciano 6c17eaa62f mlog: implement KVerFunc and Prefix 6 years ago
Brian Picciano 15efa4ba3a mlog: refactor to handle certain use cases better, and make KV merging more consistent 6 years ago
Brian Picciano 93cfa66c4b rename some mlog files, change KVer interface slightly 6 years ago
Brian Picciano 0b9c02c62a implement mlog logging system, which also implements functionality for embedding KV logging data in contexts and errors 6 years ago