How to use the appcenter/appcenter-log.LogLevelInfo function in appcenter

To help you get started, we’ve selected a few appcenter examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github microsoft / appcenter-sdk-react-native / appcenter / AppCenter.js View on Github external
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

const ReactNative = require('react-native');

const { AppCenterReactNative } = ReactNative.NativeModules;
const AppCenterLog = require('appcenter/appcenter-log');
const PackageJson = require('./package.json');

const logTag = 'AppCenter';

const AppCenter = {
    LogLevel: {
        VERBOSE: AppCenterLog.LogLevelVerbose,     // Logging will be very chatty
        DEBUG: AppCenterLog.LogLevelDebug,         // Debug information will be logged
        INFO: AppCenterLog.LogLevelInfo,           // Information will be logged
        WARNING: AppCenterLog.LogLevelWarning,     // Errors and warnings will be logged
        ERROR: AppCenterLog.LogLevelError,         // Errors will be logged
        ASSERT: AppCenterLog.LogLevelAssert,       // Only critical errors will be logged
        NONE: AppCenterLog.LogLevelNone            // Logging is disabled
    },

    /**
     * @deprecated Use `LogLevel.VERBOSE` instead.
     */
    LogLevelVerbose: AppCenterLog.LogLevelVerbose,

    /**
     * @deprecated Use `LogLevel.DEBUG` instead.
     */
    LogLevelDebug: AppCenterLog.LogLevelDebug,
github microsoft / appcenter-sdk-react-native / appcenter / AppCenter.js View on Github external
},

    /**
     * @deprecated Use `LogLevel.VERBOSE` instead.
     */
    LogLevelVerbose: AppCenterLog.LogLevelVerbose,

    /**
     * @deprecated Use `LogLevel.DEBUG` instead.
     */
    LogLevelDebug: AppCenterLog.LogLevelDebug,

    /**
     * @deprecated Use `LogLevel.INFO` instead.
     */
    LogLevelInfo: AppCenterLog.LogLevelInfo,

    /**
     * @deprecated Use `LogLevel.WARNING` instead.
     */
    LogLevelWarning: AppCenterLog.LogLevelWarning,

    /**
     * @deprecated Use `LogLevel.ERROR` instead.
     */
    LogLevelError: AppCenterLog.LogLevelError,

    /**
     * @deprecated Use `LogLevel.ASSERT` instead.
     */
    LogLevelAssert: AppCenterLog.LogLevelAssert,