Branch: refs/heads/master
Home:
https://github.com/ClusterLabs/libqb
Commit: e74214b79b3cf18c0fcfff20d027cf6dfc9a4f52
https://github.com/ClusterLabs/libqb/commit/e74214b79b3cf18c0fcfff20d027c...
Author: Jan Pokorný <jpokorny(a)redhat.com>
Date: 2016-02-16 (Tue, 16 Feb 2016)
Changed paths:
M include/qb/qblog.h
Log Message:
-----------
log: defined value as an index-pointer after static slots
Amongst other uses, this allows for better (fixed) documentation
regarding how many additional logging targets the user can define.
Commit: 4ccca4bda9e3d6cbc33451974786584d76556dc6
https://github.com/ClusterLabs/libqb/commit/4ccca4bda9e3d6cbc334519747865...
Author: Jan Pokorný <jpokorny(a)redhat.com>
Date: 2016-02-16 (Tue, 16 Feb 2016)
Changed paths:
M include/qb/qblog.h
M lib/log.c
M lib/log_format.c
Log Message:
-----------
log: convert log target defined values into enum values
Also use the new enum qb_log_target_slot type in for-loops together
with a proper substitute for the literal "0" initializer.
There could be more places that might be type-substituted for this enum
(and hence possibly catch more of an incorrect usage if the compiler
or checker has some notion of enum type narrowing), but leave it as
a possible enhancement for now.
Commit: 807c7dc34ac55ae0d43198b1f825556a5183901f
https://github.com/ClusterLabs/libqb/commit/807c7dc34ac55ae0d43198b1f8255...
Author: Jan Pokorný <jpokorny(a)redhat.com>
Date: 2016-02-16 (Tue, 16 Feb 2016)
Changed paths:
M include/qb/qblog.h
Log Message:
-----------
log: better (fixed) documentation for funcs returning "slot" index
Also add missing "stdout" to the enumerations of the static ones.
Commit: 2198893c3ea0029d77b24a4be24f1be11a4bae8d
https://github.com/ClusterLabs/libqb/commit/2198893c3ea0029d77b24a4be24f1...
Author: Jan Pokorný <jpokorny(a)redhat.com>
Date: 2016-02-16 (Tue, 16 Feb 2016)
Changed paths:
M lib/log.c
Log Message:
-----------
log: refactor static target slots state initialization
It doesn't matter that also syslog is disabled first, as it will get
enabled few lines later on (uniformity + simplicity > optimization +
complexity).
Commit: 7a290093d003aed26f7129de1b0042facbb5ce2b
https://github.com/ClusterLabs/libqb/commit/7a290093d003aed26f7129de1b004...
Author: Jan Pokorný <jpokorny(a)redhat.com>
Date: 2016-02-16 (Tue, 16 Feb 2016)
Changed paths:
M lib/log.c
Log Message:
-----------
log: convert few more instances to use enum qb_log_target_slot
Commit: 78d5d1686ada4fd9c28fd3a31d0bb93a66677a3a
https://github.com/ClusterLabs/libqb/commit/78d5d1686ada4fd9c28fd3a31d0bb...
Author: Jan Pokorný <jpokorny(a)redhat.com>
Date: 2016-02-16 (Tue, 16 Feb 2016)
Changed paths:
M include/qb/qblog.h
Log Message:
-----------
qblog.h: unify descriptions before the code examples
- use semicolons at the end of the description
- use commas when there can be an issue with parsing a long sentence
(and wrap such text at 79 characters if applicable)
Commit: 837108b02aa201e8a1519a291c361a08817e4775
https://github.com/ClusterLabs/libqb/commit/837108b02aa201e8a1519a291c361...
Author: Jan Pokorný <jpokorny(a)redhat.com>
Date: 2016-02-16 (Tue, 16 Feb 2016)
Changed paths:
M include/qb/qblog.h
Log Message:
-----------
qblog.h: fix typos and make stylistic enhancements
Commit: 7b9b72e6906f138096de8278b657aa41f1ff69d1
https://github.com/ClusterLabs/libqb/commit/7b9b72e6906f138096de8278b657a...
Author: Chrissie Caulfield <ccaulfie(a)redhat.com>
Date: 2016-02-22 (Mon, 22 Feb 2016)
Changed paths:
M include/qb/qblog.h
M lib/log.c
M lib/log_format.c
Log Message:
-----------
Merge pull request #181 from jnpkrn/log-target-slot-enum
log: enum qb_log_target_slot introduction + qblog.h cleanup
Compare:
https://github.com/ClusterLabs/libqb/compare/c242bada4667...7b9b72e6906f