Skip to content

Instantly share code, notes, and snippets.

@Pulimet
Last active June 15, 2020 18:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Pulimet/1522c93ff74e6ac0b28ce34e023ba3fe to your computer and use it in GitHub Desktop.
Save Pulimet/1522c93ff74e6ac0b28ce34e023ba3fe to your computer and use it in GitHub Desktop.
MyLog Library Article 3
private fun setParamsFromLocalProperties() {
MyLogKt.isThreadNameVisible = BuildConfig.isThreadNameVisible
MyLogKt.isTimeVisible = BuildConfig.isTimeVisible
MyLogKt.isPackageNameVisible = BuildConfig.isPackageNameVisible
MyLogKt.isClassNameVisible = BuildConfig.isClassNameVisible
MyLogKt.isMethodNameVisible = BuildConfig.isMethodNameVisible
MyLogKt.isSpacingEnabled = BuildConfig.isSpacingEnabled
MyLogKt.isLengthShouldWrap = BuildConfig.isLengthShouldWrap
MyLogKt.classNameLength = BuildConfig.classNameLength
MyLogKt.methodNameLength = BuildConfig.methodNameLength
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment