ok, unify failure and crash logging
authorMike Klein <mtklein@chromium.org>
Tue, 28 Mar 2017 13:30:11 +0000 (09:30 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Tue, 28 Mar 2017 14:11:38 +0000 (14:11 +0000)
commit200f6da4cd338b2271ab18ae9723301d288bb721
tree236856980e38f02532c631425dcb5ac412f313e3
parentf86bc2ce7f32db01fb68ffa19879a94356bc45c4
ok, unify failure and crash logging

Just as deferred and locked crash logging makes crashes easier to read,
so does deferred and locked failure logging make failures easier to read.

Change-Id: I71578d61b0056f8d7e692149762def1f155c0387
Reviewed-on: https://skia-review.googlesource.com/10280
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
tools/ok.cpp
tools/ok.h
tools/ok_test.cpp