[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MirageOS-devel] Logs


  • To: Daniel BÃnzli <daniel.buenzli@xxxxxxxxxxxx>, mirageos-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Drup <drupyog+caml@xxxxxxxx>
  • Date: Fri, 23 Oct 2015 14:50:44 +0200
  • Delivery-date: Fri, 23 Oct 2015 12:51:48 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=from:subject:to:references:message-id:date:user-agent:mime-version:in-reply-to:content-type; b=XgfW31m+FdVAjwsq40BtW3FIHv2lKNzAHmj/d6ppDt4bmvkTi5hxwq2/rL+uvU14WjCBhsldEB/j YxqokhxECE/Cv8GtWFQPhIPEpzRXh3Tr63TFtneGOFa2Ulcrrq/4
  • List-id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>

I globally like the API (it's similar to Lwt_log, which I already quite liked).

However I have trouble understand what is the intended use case for tags, and in particular why they are parametrized. It doesn't seem to be possible to filter by tag in a programmatic way.

Le 23/10/2015 03:18, Daniel Bünzli a écrit :
Ok so here's something:

   http://erratique.ch/software/logs
   http://erratique.ch/software/logs/doc/

Given that it's clearly superior from a disabled logging performance point of 
view, Logs uses Dr. Yallop's formatting continuation technique. Thanks also to 
Gabriel R. for making further convincing tests on this with flambda.

I refrained of introducing timestamps or sequence numbers in the API to avoid 
introducing unwanted deps. I think these things can perfectly be handled at the 
reporter level.

Don't use the error result value loggers for now they will change.

Feedback welcome here or on the issue tracker.

Best,

Daniel



_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel



_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.