summaryrefslogtreecommitdiff
path: root/vendor/codeberg.org/gruf/go-logger/README.md
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2022-02-12 18:27:58 +0000
committerLibravatar GitHub <noreply@github.com>2022-02-12 18:27:58 +0000
commit31935ee206107f077878d3cdb6a26b82436b6893 (patch)
tree2d522bf98013dc5a4539133561b645fd7457eb06 /vendor/codeberg.org/gruf/go-logger/README.md
parent[chore] Add nightly mirror to Codeberg.org (#392) (diff)
parentGo mod tidy (diff)
downloadgotosocial-31935ee206107f077878d3cdb6a26b82436b6893.tar.xz
Merge pull request #361 from superseriousbusiness/media_refactorv0.2.0
Refactor media handler to allow async media resolution
Diffstat (limited to 'vendor/codeberg.org/gruf/go-logger/README.md')
-rw-r--r--vendor/codeberg.org/gruf/go-logger/README.md13
1 files changed, 0 insertions, 13 deletions
diff --git a/vendor/codeberg.org/gruf/go-logger/README.md b/vendor/codeberg.org/gruf/go-logger/README.md
deleted file mode 100644
index 57410ea87..000000000
--- a/vendor/codeberg.org/gruf/go-logger/README.md
+++ /dev/null
@@ -1,13 +0,0 @@
-Fast levelled logging package with customizable formatting.
-
-Supports logging in 2 modes:
-- no locks, fastest possible logging, no guarantees for io.Writer thread safety
-- mutex locks during writes, still far faster than standard library logger
-
-Running without locks isn't likely to cause you any issues*, but if it does, you can wrap your `io.Writer` using `AddSafety()` when instantiating your new Logger. Even when running the benchmarks, this library has no printing issues without locks, so in most cases you'll be fine, but the safety is there if you need it.
-
-*most logging libraries advertising high speeds are likely not performing mutex locks, which is why with this library you have the option to opt-in/out of them.
-
-Note there are 2 uses of the unsafe package:
-- safer interface nil value checks, uses similar logic to reflect package to check if the value in the internal fat pointer is nil
-- casting a byte slice to string to allow sharing of similar byte and string methods, performs same logic as `strings.Builder{}.String()` \ No newline at end of file