/**
 * @fileoverview Interface for a logger used to log user interaction via
 * jsactions.
 */
goog.provide('jsaction.ActionLogger');

goog.require('jsaction.ActionFlow');

goog.scope(function() {



/**
 * Creates a no-op ActionLogger.
 *
 * @constructor
 */
jsaction.ActionLogger = function() {};

var ActionLogger = jsaction.ActionLogger;


/**
 * Logs when an action is actually dispatched. Should be invoked by handler
 * before the action is actually handled.
 *
 * @param {!jsaction.ActionFlow} actionFlow The action flow for the action.
 * @param {string=} opt_info optional string to identify information on
 *     the controller that handles the action.
 */
ActionLogger.prototype.logDispatch = function(actionFlow, opt_info) {};

});   // goog.scope

/**
 * @fileoverview Interface for a logger used to log user interaction via
 * jsactions.
 */
goog.provide('jsaction.ActionLogger');


goog.scope(function() {



/**
 * Creates a no-op ActionLogger.
 *
 * @constructor
 */
jsaction.ActionLogger = function() {};

var ActionLogger = jsaction.ActionLogger;


/**
 * Logs when an action is actually dispatched. Should be invoked by handler
 * before the action is actually handled.
 *
 * @param {!jsaction.ActionFlow} actionFlow The action flow for the action.
 */
ActionLogger.prototype.logDispatch = function(actionFlow) {};

});   // goog.scope

--- 
+++ 
@@ -4,6 +4,7 @@
  */
 goog.provide('jsaction.ActionLogger');
 
+goog.require('jsaction.ActionFlow');
 
 goog.scope(function() {
 
@@ -24,7 +25,9 @@
  * before the action is actually handled.
  *
  * @param {!jsaction.ActionFlow} actionFlow The action flow for the action.
+ * @param {string=} opt_info optional string to identify information on
+ *     the controller that handles the action.
  */
-ActionLogger.prototype.logDispatch = function(actionFlow) {};
+ActionLogger.prototype.logDispatch = function(actionFlow, opt_info) {};
 
 });   // goog.scope
Move jsaction_logger to []/js so that it can be used by both reactive and []
bootstrap.

Also adds an optional info field to the log method to log template/controller
information.

	Change on 2017/05/09 by huangwei <huangwei@google.com>

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=155579880
