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

Changeset bf9ac4e8 in mainline


Ignore:
Timestamp:
2012-08-17T10:08:21Z (9 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master
Children:
3cf862f
Parents:
6e596bd
Message:

Add comments to logger IPC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/ipc/logger.h

    r6e596bd rbf9ac4e8  
    3737
    3838typedef enum {
     39        /** Set (global) default displayed logging level.
     40         *
     41         * Arguments: new log level.
     42         * Returns: error code
     43         */
    3944        LOGGER_CONTROL_SET_DEFAULT_LEVEL = IPC_FIRST_USER_METHOD,
     45        /** Set displayed level for given log.
     46         *
     47         * Arguments: new log level.
     48         * Returns: error code
     49         * Followed by: string with full log name.
     50         */
    4051        LOGGER_CONTROL_SET_LOG_LEVEL
    4152} logger_control_request_t;
    4253
    4354typedef enum {
    44         /** Followed by STRING, returns ID to be used for CREATE_SUB_LOG */
     55        /** Create new log.
     56         *
     57         * Arguments: parent log id (0 for top-level log).
     58         * Returns: error code, log id
     59         * Followed by: string with log name.
     60         */
    4561        LOGGER_WRITER_CREATE_LOG = IPC_FIRST_USER_METHOD,
     62        /** Write a message to a given log.
     63         *
     64         * Arguments: log id, message severity level (log_level_t)
     65         * Returns: error code
     66         * Followed by: string with the message.
     67         */
    4668        LOGGER_WRITER_MESSAGE
    4769} logger_writer_request_t;
Note: See TracChangeset for help on using the changeset viewer.