From 2e7c40ede0b32845514d43c5d9f6e77d7eb8c548 Mon Sep 17 00:00:00 2001 From: Dave Clendenan Date: Fri, 2 Dec 2016 09:57:30 -0800 Subject: [PATCH] README formatting tweak --- README.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 083fcdc..32d145b 100644 --- a/README.md +++ b/README.md @@ -68,17 +68,14 @@ This adds the caller as 'method' like so: ```json {"animal":"penguin","level":"fatal","method":"arcticcreatures.migrate","msg":"a penguin swims by", "time":"2014-03-10 19:57:38.562543129 -0400 EDT"} - ``` ```text time="2015-03-26T01:27:38-04:00" level=fatal method=arcticcreatures.migrate msg="a penguin swims by" animal=penguin - -``` -Note that this does add measurable overhead - the cost will depend on the of Go, but is between 20 and 40% in recent tests with 1.6 and 1.7. You can validate this in your environment via benchmarks: -``` -go test -bench=.*CallerTracing ``` +Note that this does add measurable overhead - the cost will depend on the of Go, but is +between 20 and 40% in recent tests with 1.6 and 1.7. You can validate this in your +environment via benchmarks: `go test -bench=.*CallerTracing` #### Example