blob: 4b68aa1a54f1ea8d752c572e92cf2eea2fe50c07 [file] [log] [blame]
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef GIN_MODULES_CONSOLE_H_
#define GIN_MODULES_CONSOLE_H_
#include "gin/gin_export.h"
#include "v8/include/v8.h"
namespace gin {
// The Console module provides a basic API for printing to stdout. Over time,
// we'd like to evolve the API to match window.console in browsers.
class GIN_EXPORT Console {
public:
static void Register(v8::Isolate* isolate,
v8::Local<v8::ObjectTemplate> templ);
};
} // namespace gin
#endif // GIN_MODULES_CONSOLE_H_