log.c: fix indenting
This commit is contained in:
parent
38b231b848
commit
5625a2f17f
12
src/log.c
12
src/log.c
@ -1,9 +1,9 @@
|
|||||||
/*
|
/*
|
||||||
* vim:ts=8:expandtab
|
* vim:ts=4:sw=4:expandtab
|
||||||
*
|
*
|
||||||
* i3 - an improved dynamic tiling window manager
|
* i3 - an improved dynamic tiling window manager
|
||||||
*
|
*
|
||||||
* © 2009 Michael Stapelberg and contributors
|
* © 2009-2010 Michael Stapelberg and contributors
|
||||||
*
|
*
|
||||||
* See file LICENSE for license information.
|
* See file LICENSE for license information.
|
||||||
*
|
*
|
||||||
@ -24,7 +24,7 @@
|
|||||||
static uint64_t loglevel = 0;
|
static uint64_t loglevel = 0;
|
||||||
static bool verbose = true;
|
static bool verbose = true;
|
||||||
|
|
||||||
/**
|
/*
|
||||||
* Set verbosity of i3. If verbose is set to true, informative messages will
|
* Set verbosity of i3. If verbose is set to true, informative messages will
|
||||||
* be printed to stdout. If verbose is set to false, only errors will be
|
* be printed to stdout. If verbose is set to false, only errors will be
|
||||||
* printed.
|
* printed.
|
||||||
@ -34,7 +34,7 @@ void set_verbosity(bool _verbose) {
|
|||||||
verbose = _verbose;
|
verbose = _verbose;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/*
|
||||||
* Enables the given loglevel.
|
* Enables the given loglevel.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@ -75,7 +75,7 @@ void vlog(char *fmt, va_list args) {
|
|||||||
vprintf(fmt, args);
|
vprintf(fmt, args);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/*
|
||||||
* Logs the given message to stdout while prefixing the current time to it,
|
* Logs the given message to stdout while prefixing the current time to it,
|
||||||
* but only if verbose mode is activated.
|
* but only if verbose mode is activated.
|
||||||
*
|
*
|
||||||
@ -91,7 +91,7 @@ void verboselog(char *fmt, ...) {
|
|||||||
va_end(args);
|
va_end(args);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/*
|
||||||
* Logs the given message to stdout while prefixing the current time to it.
|
* Logs the given message to stdout while prefixing the current time to it.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user