Added new logging category for summary of process.
authorAndreas.Eversberg <jolly@eversberg.eu>
Sun, 6 Jun 2010 18:16:01 +0000 (18:16 +0000)
committerAndreas.Eversberg <jolly@eversberg.eu>
Sun, 6 Jun 2010 18:16:01 +0000 (18:16 +0000)
src/host/layer23/include/osmocom/logging.h
src/host/layer23/src/logging.c

index d7360e2..1a11cf9 100644 (file)
@@ -17,6 +17,7 @@ enum {
        DPAG,
        DLAPDM,
        DL1C,
+       DSUM,
 };
 
 extern const struct log_info log_info;
index ed79f55..8219532 100644 (file)
@@ -96,6 +96,12 @@ static const struct log_info_cat default_categories[] = {
                .color = "\033[1;31m",
                .enabled = 1, .loglevel = LOGL_DEBUG,
        },
+       [DSUM] = {
+               .name = "DSUM",
+               .description = "Summary of Process",
+               .color = "\033[1;37m",
+               .enabled = 1, .loglevel = LOGL_DEBUG,
+       },
 };
 
 const struct log_info log_info = {