зеркало из https://github.com/mozilla/glean.git
Log as errors
Co-authored-by: Alessio Placitelli <alessio.placitelli@gmail.com>
This commit is contained in:
Родитель
2971286519
Коммит
2717a62bd9
|
@ -296,7 +296,7 @@ open class GleanInternalAPI internal constructor () {
|
|||
Pass the correct state into `Glean.initialize()`.
|
||||
See documentation at https://mozilla.github.io/glean/book/user/general-api.html#initializing-the-glean-sdk
|
||||
""".trimIndent()
|
||||
Log.w(LOG_TAG, msg)
|
||||
Log.e(LOG_TAG, msg)
|
||||
return
|
||||
}
|
||||
// Changing upload enabled always happens asynchronous.
|
||||
|
|
|
@ -266,7 +266,7 @@ namespace Mozilla.Glean
|
|||
string msg = "Changing upload enabled before Glean is initialized is not supported.\n" +
|
||||
"Pass the correct state into `Glean.initialize()`.\n" +
|
||||
"See documentation at https://mozilla.github.io/glean/book/user/general-api.html#initializing-the-glean-sdk";
|
||||
Log.Warning(msg);
|
||||
Log.Error(msg);
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -229,7 +229,7 @@ public class Glean {
|
|||
Pass the correct state into `Glean.initialize()`.
|
||||
See documentation at https://mozilla.github.io/glean/book/user/general-api.html#initializing-the-glean-sdk
|
||||
"""
|
||||
self.logger.warn(msg)
|
||||
self.logger.error(msg)
|
||||
|
||||
return
|
||||
}
|
||||
|
|
|
@ -318,7 +318,7 @@ class Glean:
|
|||
See documentation at
|
||||
https://mozilla.github.io/glean/book/user/general-api.html#initializing-the-glean-sdk
|
||||
"""
|
||||
log.warning(inspect.cleandoc(msg))
|
||||
log.error(inspect.cleandoc(msg))
|
||||
return
|
||||
|
||||
# Changing upload enabled always happens asynchronous.
|
||||
|
|
Загрузка…
Ссылка в новой задаче