Set default logger name (simplifies logging with Log.info { } etc.)
This commit is contained in:
parent
53f7847146
commit
5cf086485e
|
@ -19,6 +19,7 @@ import net.codinux.banking.ui.composables.TransactionsList
|
|||
import net.codinux.banking.ui.dialogs.AddAccountDialog
|
||||
import net.codinux.banking.ui.config.Colors
|
||||
import net.codinux.banking.ui.config.DI
|
||||
import net.codinux.log.LoggerFactory
|
||||
import org.jetbrains.compose.ui.tooling.preview.Preview
|
||||
|
||||
private val typography = Typography(
|
||||
|
@ -28,6 +29,8 @@ private val typography = Typography(
|
|||
@Composable
|
||||
@Preview
|
||||
fun App() {
|
||||
LoggerFactory.defaultLoggerName = "net.codinux.banking.ui.Bankmeister"
|
||||
|
||||
val colors = MaterialTheme.colors.copy(secondary = Colors.CodinuxSecondaryColor, onSecondary = Color.White)
|
||||
|
||||
var showAddAccountDialog by remember { mutableStateOf(false) }
|
||||
|
|
Loading…
Reference in New Issue