Change logging to DEBUG
This commit is contained in:
parent
42be9d2062
commit
eae54f9343
|
@ -11,7 +11,7 @@ struct AppConfig {
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
const AppConfig config = readConfig();
|
const AppConfig config = readConfig();
|
||||||
auto provider = new DefaultProvider(Levels.INFO);
|
auto provider = new DefaultProvider(Levels.DEBUG);
|
||||||
configureLoggingProvider(provider);
|
configureLoggingProvider(provider);
|
||||||
infoF!"Loaded app config: port = %d, webOrigin = %s"(config.port, config.webOrigin);
|
infoF!"Loaded app config: port = %d, webOrigin = %s"(config.port, config.webOrigin);
|
||||||
|
|
||||||
|
|
|
@ -78,6 +78,9 @@ router.beforeEach((to, _, next) => {
|
||||||
} else {
|
} else {
|
||||||
document.title = 'Finnow'
|
document.title = 'Finnow'
|
||||||
}
|
}
|
||||||
|
if (import.meta.env.DEV) {
|
||||||
|
document.title = '[DEV]' + document.title
|
||||||
|
}
|
||||||
next()
|
next()
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue