chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] Re: #323: Have a logger-like warning precedence conce


From: Chicken Trac
Subject: [Chicken-janitors] Re: #323: Have a logger-like warning precedence concept
Date: Tue, 24 Aug 2010 10:13:15 -0000

#323: Have a logger-like warning precedence concept
--------------------------------+-------------------------------------------
  Reporter:  kon                |       Owner:       
      Type:  enhancement        |      Status:  new  
  Priority:  not urgent at all  |   Milestone:       
 Component:  core libraries     |     Version:  4.5.x
Resolution:                     |    Keywords:       
--------------------------------+-------------------------------------------
Changes (by felix):

  * milestone:  4.6.0 =>


Old description:

> - level is a symbol or #f, indicating lower than the lowest level
>
>   (message-levels [levels]) -> level
>
>     - parameter that gets/sets the active message levels
>
>     - levels is a list of symbol defining the legal set of levels
>     and the order of precedence. () means no levels
>
>   (message-level [level]) -> level
>
>     - parameter that gets/sets the active message level
>
>     - the active message level determines whether a message
>     is processed any further. any message with a level lower
>     than the current level is ignored.
>
>   (message level msg . args)
>
>     - msg is a string, and args are objects
>
>     - a level of #f will never be seen unless () = (message-levels)
>
>   (warning msg . args) & (##sys#notice msg . args)
>
>     - wrappers around `message'

New description:

 - level is a symbol or #f, indicating lower than the lowest level

   (message-levels [levels]) -> level

     - parameter that gets/sets the active message levels

     - levels is a list of symbol defining the legal set of levels
     and the order of precedence. () means no levels

   (message-level [level]) -> level

     - parameter that gets/sets the active message level

     - the active message level determines whether a message
     is processed any further. any message with a level lower
     than the current level is ignored.

   (message level msg . args)

     - msg is a string, and args are objects

     - a level of #f will never be seen unless () = (message-levels)

   (warning msg . args) & (##sys#notice msg . args)

     - wrappers around `message'

--

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/323#comment:2>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]