forked from google/jsaction
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathactionlogger.js
More file actions
30 lines (23 loc) · 730 Bytes
/
actionlogger.js
File metadata and controls
30 lines (23 loc) · 730 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/**
* @fileoverview Interface for a logger used to log user interaction via
* jsactions.
*/
goog.provide('jsaction.ActionLogger');
goog.requireType('jsaction.ActionFlow');
goog.scope(function() {
/**
* Creates a no-op ActionLogger.
*
* @constructor
*/
jsaction.ActionLogger = function() {};
/**
* 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.
*/
jsaction.ActionLogger.prototype.logDispatch = function(actionFlow, opt_info) {};
}); // goog.scope