Closed borsboom closed 8 years ago
@borsboom: I can't find the commit d7a5495c4b7dd0e38bf7e56b1210aaccb91d35ff does not exist in fpco/monad-logger-json-extra.
Ah sorry I missed updating the git commit in the libraries and hauth's stack.yaml. Fixed now, and the correct commit is 931a096f4d18a57430908ec65a87556e26c5d298.
Since @kantp isn't available today, perhaps someone else can review? @nh2 or @snoyberg?
Looks good to me. Only question I'd have: at some places, the type of the logging message is fixed to String
, in others to Text
. Unless there's a reason for using String
, I'd suggest using Text
everywhere.
I went by context. If Text was already imported and in use by the module, I used it. Otherwise I went with String. But you're right, no good reason for this and might as well just use Text everywhere.
I guess it doesn't really matter, I just noticed it and wondered if there was a reason.
Feel free to merge.
I will not be able to attend this PR since I'm leaving for my holidays soon. I think one of @kantp , @snoyberg , or @nh2 should review.