mirror of
https://github.com/mattermost/mattermost-mobile.git
synced 2026-11-11 13:40:12 +00:00
19 lines
481 B
TypeScript
19 lines
481 B
TypeScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
/* eslint-disable no-console */
|
|
|
|
import {LOG_PREFIX} from './constants';
|
|
|
|
export function logInfo(message: string): void {
|
|
console.log(`${LOG_PREFIX} ${message}`);
|
|
}
|
|
|
|
export function logWarn(message: string): void {
|
|
console.warn(`${LOG_PREFIX} ${message}`);
|
|
}
|
|
|
|
export function logError(message: string): void {
|
|
console.error(`${LOG_PREFIX} ${message}`);
|
|
}
|