1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
6 * @fileoverview Logging related utility functions.
9 /** Posts the log message to the log url.
10 * @param {string} logMsg the log message to post.
11 * @param {string=} opt_logMsgUrl the url to post log messages to.
13 function logMessage(logMsg, opt_logMsgUrl) {
14 console.log(UTIL_fmt('logMessage("' + logMsg + '")'));
20 var audio = new Audio();
21 audio.src = opt_logMsgUrl + logMsg;