blob: b7319c9082f0636913836691689dd842bc10a4e3 [file] [log] [blame]
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
/// Represents the severity of a JavaScript log message.
enum JavaScriptLogLevel {
/// Indicates an error message was logged via an "error" event of the
/// `console.error` method.
error,
/// Indicates a warning message was logged using the `console.warning`
/// method.
warning,
/// Indicates a debug message was logged using the `console.debug` method.
debug,
/// Indicates an informational message was logged using the `console.info`
/// method.
info,
/// Indicates a log message was logged using the `console.log` method.
log,
}