Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset e1e4192 in mainline for uspace/lib/drv/generic/log.c


Ignore:
Timestamp:
2012-06-03T20:45:58Z (10 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master
Children:
90478727
Parents:
f7e69f5 (diff), 3123d2a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/log.c

    rf7e69f5 re1e4192  
    3333#include <io/log.h>
    3434#include <stdarg.h>
    35 
    3635#include <ddf/log.h>
    3736
    3837/** Initialize the logging system.
    3938 *
    40  * @param drv_name      Driver name, will be printed as part of message
    41  * @param level         Minimum message level to print
     39 * @param drv_name Driver name, will be printed as part of message
     40 * @param level    Minimum message level to print
     41 *
    4242 */
    4343int ddf_log_init(const char *drv_name, log_level_t level)
     
    4848/** Log a driver message.
    4949 *
    50  * @param level         Message verbosity level. Message is only printed
    51  *                      if verbosity is less than or equal to current
    52  *                      reporting level.
    53  * @param fmt           Format string (no trailing newline)
     50 * @param level Message verbosity level. Message is only printed
     51 *              if verbosity is less than or equal to current
     52 *              reporting level.
     53 * @param fmt   Format string (no trailing newline)
     54 *
    5455 */
    5556void ddf_msg(log_level_t level, const char *fmt, ...)
    5657{
    5758        va_list args;
    58 
     59       
    5960        va_start(args, fmt);
    6061        log_msgv(level, fmt, args);
Note: See TracChangeset for help on using the changeset viewer.