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

Changeset cba45af in mainline for uspace/lib/c/include/ipc/logger.h


Ignore:
Timestamp:
2012-08-16T21:01:55Z (9 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master
Children:
2bf781a
Parents:
e005f92
Message:

Rewrite logger (work in progress)

Major issues

  • no locking
  • no clean-up (at all)
File:
1 edited

Legend:

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

    re005f92 rcba45af  
    3737
    3838typedef enum {
    39         LOGGER_CTL_GET_DEFAULT_LEVEL = IPC_FIRST_USER_METHOD,
    40         LOGGER_CTL_SET_DEFAULT_LEVEL,
    41         LOGGER_CTL_SET_NAMESPACE_LEVEL,
    42         LOGGER_CTL_SET_CONTEXT_LEVEL
     39        LOGGER_CTL_SET_DEFAULT_LEVEL = IPC_FIRST_USER_METHOD,
     40        LOGGER_CTL_SET_TOP_LOG_LEVEL,
     41        LOGGER_CTL_SET_LOG_LEVEL
    4342} logger_control_request_t;
    4443
    4544typedef enum {
    46         LOGGER_REGISTER = IPC_FIRST_USER_METHOD,
    47         LOGGER_CREATE_CONTEXT,
    48         LOGGER_MESSAGE
    49 } logger_sink_request_t;
     45        /** Followed by STRING, returns ID to be used for CREATE_SUB_LOG */
     46        LOGGER_WRITER_CREATE_TOPLEVEL_LOG = IPC_FIRST_USER_METHOD,
     47        LOGGER_WRITER_CREATE_SUB_LOG,
     48        LOGGER_WRITER_MESSAGE
     49} logger_writer_request_t;
    5050
    5151typedef enum {
Note: See TracChangeset for help on using the changeset viewer.