source: mainline/uspace/srv/sysman/log.h@ 59ba708

Last change on this file since 59ba708 was 6efec7e3, checked in by Matthieu Riolo <matthieu.riolo@…>, 6 years ago

Unit polymorphism (simple mount), debug logging

  • Property mode set to 100644
File size: 293 bytes
Line 
1#ifndef SYSMAN_LOG_H
2#define SYSMAN_LOG_H
3
4#include <io/log.h>
5#include <stdio.h>
6
7/*
8 * Temporarily use only simple printfs, later add some smart logging,
9 * that would use logger as soon as it's ready.
10 */
11#define sysman_log(level, fmt, ...) printf("sysman: " fmt "\n", __VA_ARGS__)
12
13#endif
Note: See TracBrowser for help on using the repository browser.