commit | 6b01c899354f2d7e9211007947567f20263ee4e0 | [log] [tgz] |
---|---|---|
author | Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no> | Wed Jul 11 12:26:31 2018 +0200 |
committer | Anas Nashif <anas.nashif@intel.com> | Sat Jul 14 08:32:44 2018 -0400 |
tree | f49ca1f53e0339552904ca5e904ed4febeea95ba | |
parent | 953cc12464daedb5703797e241fc75cf55b7e9f5 [diff] |
logging: Add log initialization to system startup Log API can be used before user can explicitly initialize the logger. In order to ensure that logger core is ready to buffer log messages it must be initialize as early as possible. Initialization does not include initialization of default backend since driver may not be ready and backend is needed only when log messages are processed. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>