Skip to content
Permalink
Branch: master
Commits on Nov 7, 2019
  1. Add zlog.Field

    arp242 committed Nov 7, 2019
    Because this:
    
    	zlog.Field("site", site.ID)
    
    Is just much nicer than:
    
    	zlog.Fields(zlog.F{"site": site.ID})
Commits on Nov 4, 2019
  1. Don't wrap fields

    arp242 committed Nov 4, 2019
    Wrapping fields looks a bit nicer, but actually makes things quite a bit
    harder to process with standard shell tools.
    
    Want all errors with all data? With wrapping just a "grep" won't be
    enough, and even grep -A1 won't be because not all might be wrapped.
    
    This just makes everything easier at the expensive of being harder to
    read on dev. I considered adding an option, but don't really want to add
    the complexity. We'll see how this goes.
You can’t perform that action at this time.