minor readme tweak

This commit is contained in:
Johannes Weiss committed 2018-12-03 17:45:24 +00:00
1 parent edd354fa76
commit d3fc8c10e4
1 file changed
+1 -3
+1 -3
View File
@@ -10,8 +10,6 @@ The file `RandomExample.swift` contains demoes of some other things that you may
## Feedback Wishes
This is really only a first pass and I will speak to the OSLog folks again to maybe get towards an API that's at least very similar between client & server.
Feedback that would really be great is:
- if anything, what does this proposal *not cover* that you will definitely need
- if anything, what could we remove from this and still be happy?
@@ -26,4 +24,4 @@ Very many. But here a couple that come to my mind:
- currently attaching context to a logger is done through `subscript(diagnosticKey diagnosticKey: String) -> String? { get set }`
clearly setting and deleting extra context is necessary. But reading it is really not. Should we make it `addContext(key: String, value: String)` and `removeContext(key:String)` instead?
- should the logging context values be `String`?
- should we remove the possible customisation around log level evaluation and stick that in the API? If yes, the `_log` function would need to unconditionally log if called because the `level > self.logLevel` has already been done.
- should we add an ability to read all current context?