chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nspawn: add new --personality= switch to make it easier to run 32bit containers on...
[elogind.git]
/
src
/
shared
/
log.c
diff --git
a/src/shared/log.c
b/src/shared/log.c
index ee20921f7843845e3479a04cb2400b43f8f1cc5b..3e48b3ccc24f303e41229a3f198942bcd09aa05a 100644
(file)
--- a/
src/shared/log.c
+++ b/
src/shared/log.c
@@
-927,10
+927,18
@@
void log_show_color(bool b) {
show_color = b;
}
show_color = b;
}
+bool log_get_show_color(void) {
+ return show_color;
+}
+
void log_show_location(bool b) {
show_location = b;
}
void log_show_location(bool b) {
show_location = b;
}
+bool log_get_show_location(void) {
+ return show_location;
+}
+
int log_show_color_from_string(const char *e) {
int t;
int log_show_color_from_string(const char *e) {
int t;