rbrindley: branch rbrindley/astman_revamp r4540 - /team/rbrindley/astman_reva...

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Mon Mar 2 15:20:19 CST 2009


Author: rbrindley
Date: Mon Mar  2 15:20:16 2009
New Revision: 4540

URL: http://svn.digium.com/svn-view/asterisk-gui?view=rev&rev=4540
Log:

- added log.js to contain all the logging functions


Added:
    team/rbrindley/astman_revamp/config/js/log.js

Added: team/rbrindley/astman_revamp/config/js/log.js
URL: http://svn.digium.com/svn-view/asterisk-gui/team/rbrindley/astman_revamp/config/js/log.js?view=auto&rev=4540
==============================================================================
--- team/rbrindley/astman_revamp/config/js/log.js (added)
+++ team/rbrindley/astman_revamp/config/js/log.js Mon Mar  2 15:20:16 2009
@@ -1,0 +1,63 @@
+/*
+ * Asterisk-GUI	- an Asterisk configuration interface
+ *
+ * Logging functions
+ *
+ * Copyright (C) 2006-2008, Digium, Inc.
+ *
+ * Mark Spencer <markster at digium.com>
+ * Pari Nannapaneni <pari at digium.com>
+ * Ryan Brindley <ryan at digium.com>
+ *
+ * See http://www.asterisk.org for more information about
+ * the Asterisk project. Please do not directly contact
+ * any of the maintainers of this project for assistance;
+ * the project provides a web site, mailing lists and IRC
+ * channels for your use.
+ *
+ * This program is free software, distributed under the terms of
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ *
+ */
+
+/**
+ * Main Log Object.
+ * This log object contains all the needed logging functions for the GUI.
+ */
+var log = {};
+
+/**
+ * Log as ajax.
+ */
+log.ajax = function () {};
+
+/**
+ * Log to the Console.
+ */
+log.console = function () {};
+
+/**
+ * Debug log.
+ */
+log.debug = function () {};
+
+/**
+ * Core Log Function.
+ */
+log.doLog = function () {};
+
+/**
+ * Log as Error.
+ */
+log.error = function () {};
+
+/**
+ * Log as Info.
+ */
+log.info = function () {};
+
+/**
+ * Log as Warning.
+ */
+log.warn = function () {};




More information about the asterisk-gui-commits mailing list