mirror of
https://github.com/mattermost/mattermost-mobile.git
synced 2026-11-13 22:50:19 +00:00
Open the app DB first and decrypt credentials only for known server URLs so logged-in launches no longer enumerate every generic-password service. Co-authored-by: Cursor <cursoragent@cursor.com>
16 lines
411 B
TypeScript
16 lines
411 B
TypeScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
import {logInfo} from '@utils/log';
|
|
|
|
const origin = Date.now();
|
|
|
|
export function launchMark(stage: string, extra?: string) {
|
|
const ms = Date.now() - origin;
|
|
if (extra) {
|
|
logInfo('LAUNCH', `+${ms}ms`, stage, extra);
|
|
} else {
|
|
logInfo('LAUNCH', `+${ms}ms`, stage);
|
|
}
|
|
}
|