From 2a67f9b24935f1d9ef78b9700cff6fce671ef54c Mon Sep 17 00:00:00 2001 From: Alexander Blom Date: Tue, 17 May 2016 12:42:14 -0700 Subject: [PATCH] Move infoLog to OSS Reviewed By: sahrens Differential Revision: D3310270 fbshipit-source-id: 93261e6083a35e6869b384c8c230c861427e4060 --- Libraries/Utilities/infoLog.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Libraries/Utilities/infoLog.js diff --git a/Libraries/Utilities/infoLog.js b/Libraries/Utilities/infoLog.js new file mode 100644 index 00000000000..a3798fbd810 --- /dev/null +++ b/Libraries/Utilities/infoLog.js @@ -0,0 +1,20 @@ +/** + * Copyright (c) 2013-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + * + * @providesModule infoLog + */ +'use strict'; + +/** + * Intentional info-level logging for clear separation from ad-hoc console debug logging. + */ +function infoLog(...args) { + return console.log(...args); // eslint-disable-line no-console-disallow +} + +module.exports = infoLog;