Skip to content
Snippets Groups Projects
  • Iustin Pop's avatar
    Increase Haskell log file resolution · ce817701
    Iustin Pop authored
    
    Currently the Haskell logging goes with the default time formatting,
    which lacks sub-second resolution. This is not good, as it's too
    coarse.
    
    The patch adds picoseconds to the log; they will contain usually too
    many zeroes, but the other option is to use a log format that (for
    precisely zero fractional part) omits the separator, so it's not
    consistent from line to line, and which also uses a dot as a
    separator, different from the Python code.
    
    Signed-off-by: default avatarIustin Pop <iustin@google.com>
    Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
    ce817701
Logging.hs 4.54 KiB