On 12 Nov 2016, at 15:45, Hannes Mehnert <[email protected]> wrote: > > I tried to find the reasoning behind the log functions in the module > type CONSOLE (using the git history). > > Some facts: > - Nowadays (since 15th October 2014, or Mirage-2.0.0) a CONSOLE is a > FLOW (and thus has read/write/writev/close) > - there is a log_s : t -> string -> unit io > - and a log : t -> string -> unit
The use of 'log' and 'log_s' date wayyy back to when we log to an emergency console, and don't really fit in once the library ecosystem caught up and we have proper logging infrastructure now. This PR seems to go in the right direction to clean things up. Thanks! Anil _______________________________________________ MirageOS-devel mailing list [email protected] https://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
