Added configuration successfully loaded message for debugging.
This commit is contained in:
parent
a783cf9d1f
commit
943498bed8
1 changed files with 3 additions and 1 deletions
|
@ -88,7 +88,9 @@ class MainActivity : AppCompatActivity(), AnkoLogger {
|
|||
|
||||
if (BuildConfig.DEBUG) {
|
||||
val errors = StringBuilder()
|
||||
if (!validateConfig(config, errors)) {
|
||||
if (validateConfig(config, errors)) {
|
||||
info(">>> ${config.params.name}: successfully loaded")
|
||||
} else {
|
||||
info(">>> ${config.params.name}: " + Html.fromHtml(errors.toString()))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue