Changeset f92b315 in mainline for uspace/srv/sysman/log.c
- Timestamp:
- 2019-08-17T13:58:13Z (6 years ago)
- Children:
- 241f1985
- Parents:
- 8d74fdd
- git-author:
- Michal Koutny <xm.koutny+hos@…> (2016-02-07 22:30:40)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-17 13:58:13)
- File:
-
- 1 edited
-
uspace/srv/sysman/log.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/sysman/log.c
r8d74fdd rf92b315 37 37 38 38 static FILE *log_file = NULL; 39 static log_level_t max_level = LVL_NOTE; 40 41 extern void sysman_log_init(log_level_t level) 42 { 43 max_level = level; 44 } 39 45 40 46 void sysman_log(log_level_t level, const char *fmt, ...) 41 47 { 48 if (level > max_level) { 49 return; 50 } 42 51 va_list args; 43 52 va_start(args, fmt);
Note:
See TracChangeset
for help on using the changeset viewer.
