From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 9F5527EE5B for ; Fri, 19 Apr 2013 10:25:28 +0200 (CEST) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of berenger@riken.jp) identity=pra; client-ip=134.160.33.161; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="berenger@riken.jp"; x-sender="berenger@riken.jp"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of berenger@riken.jp designates 134.160.33.161 as permitted sender) identity=mailfrom; client-ip=134.160.33.161; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="berenger@riken.jp"; x-sender="berenger@riken.jp"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of postmaster@postman.riken.jp designates 134.160.33.161 as permitted sender) identity=helo; client-ip=134.160.33.161; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="berenger@riken.jp"; x-sender="postmaster@postman.riken.jp"; x-conformance=sidf_compatible; x-record-type="v=spf1" X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtoBAA7+cFGGoCGhnGdsb2JhbABQgzzBfQ4BAQEBAQgLCQkUKIJNEUA9FhgDAgECAVgIAQGIEAycEqEyjzWDMQOJBY4CgSOEZI4n X-IPAS-Result: AtoBAA7+cFGGoCGhnGdsb2JhbABQgzzBfQ4BAQEBAQgLCQkUKIJNEUA9FhgDAgECAVgIAQGIEAycEqEyjzWDMQOJBY4CgSOEZI4n X-IronPort-AV: E=Sophos;i="4.87,507,1363129200"; d="scan'208";a="11518959" Received: from postman1.riken.jp (HELO postman.riken.jp) ([134.160.33.161]) by mail3-smtp-sop.national.inria.fr with ESMTP; 19 Apr 2013 10:25:26 +0200 Received: from postman.riken.jp (postman1.riken.jp [127.0.0.1]) by postman.riken.jp (Postfix) with SMTP id 1D17C2588001 for ; Fri, 19 Apr 2013 17:25:23 +0900 (JST) Received: from [172.27.98.103] (rikad98.riken.jp [134.160.214.98]) by postman.riken.jp (Postfix) with ESMTPA id BD71532A0047 for ; Fri, 19 Apr 2013 17:25:21 +0900 (JST) Message-ID: <5170FF71.7060406@riken.jp> Date: Fri, 19 Apr 2013 17:25:21 +0900 From: Francois Berenger User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: caml-list@inria.fr Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.6.0.2009776, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2013.4.19.81515 Subject: [Caml-list] first release of dolog: the dumb ocaml logger Dear list, After an 'opam update', you should be able to see the dolog package. Here is its minimalistic interface definition: --- type log_level = FATAL | ERROR | WARN | INFO | DEBUG val set_log_level : log_level -> unit val set_output : out_channel -> unit val fatal : string Lazy.t -> unit val error : string Lazy.t -> unit val warn : string Lazy.t -> unit val info : string Lazy.t -> unit val debug : string Lazy.t -> unit --- The full source code can be found here: https://github.com/HappyCrow/dolog The license is a BSD one. I believe the more complete logging alternative is Xavier Clerc's Bolt (http://bolt.x9c.fr/). Best regards, Francois.