diff --git a/packages/metro-bundler/src/Bundler/Bundle.js b/packages/metro-bundler/src/Bundler/Bundle.js index a8f24c89..3db9bf58 100644 --- a/packages/metro-bundler/src/Bundler/Bundle.js +++ b/packages/metro-bundler/src/Bundler/Bundle.js @@ -16,7 +16,7 @@ const ModuleTransport = require('../lib/ModuleTransport'); const _ = require('lodash'); const crypto = require('crypto'); -const debug = require('debug')('RNP:Bundle'); +const debug = require('debug')('Metro:Bundle'); const invariant = require('fbjs/lib/invariant'); const {createRamBundleGroups} = require('./util'); diff --git a/packages/metro-bundler/src/Bundler/index.js b/packages/metro-bundler/src/Bundler/index.js index 16e5b8d1..f0fc65af 100644 --- a/packages/metro-bundler/src/Bundler/index.js +++ b/packages/metro-bundler/src/Bundler/index.js @@ -13,7 +13,7 @@ const assert = require('assert'); const crypto = require('crypto'); -const debug = require('debug')('RNP:Bundler'); +const debug = require('debug')('Metro:Bundler'); const emptyFunction = require('fbjs/lib/emptyFunction'); const fs = require('fs'); const Transformer = require('../JSTransformer'); diff --git a/packages/metro-bundler/src/JSTransformer/index.js b/packages/metro-bundler/src/JSTransformer/index.js index f81c8f08..697a3b75 100644 --- a/packages/metro-bundler/src/JSTransformer/index.js +++ b/packages/metro-bundler/src/JSTransformer/index.js @@ -14,7 +14,7 @@ const Logger = require('../Logger'); -const debug = require('debug')('RNP:JStransformer'); +const debug = require('debug')('Metro:JStransformer'); const denodeify: Denodeify = require('denodeify'); const invariant = require('fbjs/lib/invariant'); const path = require('path'); diff --git a/packages/metro-bundler/src/Server/index.js b/packages/metro-bundler/src/Server/index.js index c7b37021..e5263769 100644 --- a/packages/metro-bundler/src/Server/index.js +++ b/packages/metro-bundler/src/Server/index.js @@ -16,7 +16,7 @@ const AssetServer = require('../AssetServer'); const Bundler = require('../Bundler'); const MultipartResponse = require('./MultipartResponse'); -const debug = require('debug')('RNP:Server'); +const debug = require('debug')('Metro:Server'); const defaults = require('../defaults'); const emptyFunction = require('fbjs/lib/emptyFunction'); const getMaxWorkers = require('../lib/getMaxWorkers'); diff --git a/packages/metro-bundler/src/Server/symbolicate/symbolicate.js b/packages/metro-bundler/src/Server/symbolicate/symbolicate.js index f4fd9636..82402a7a 100644 --- a/packages/metro-bundler/src/Server/symbolicate/symbolicate.js +++ b/packages/metro-bundler/src/Server/symbolicate/symbolicate.js @@ -11,7 +11,7 @@ 'use strict'; const concat = require('concat-stream'); -const debug = require('debug')('RNP:Symbolication'); +const debug = require('debug')('Metro:Symbolication'); const net = require('net'); const temp = require('temp'); const xpipe = require('xpipe'); diff --git a/packages/metro-bundler/src/index.js b/packages/metro-bundler/src/index.js index 4fe691e6..ac061995 100644 --- a/packages/metro-bundler/src/index.js +++ b/packages/metro-bundler/src/index.js @@ -110,7 +110,7 @@ function enableDebug() { // To enable debugging, we need to set our pattern or append it to any // existing pre-configured pattern to avoid disabling logging for // other packages - var debugPattern = 'RNP:*'; + var debugPattern = 'Metro:*'; var existingPattern = debug.load(); if (existingPattern) { debugPattern += ',' + existingPattern; diff --git a/packages/metro-bundler/src/lib/TransformCaching.js b/packages/metro-bundler/src/lib/TransformCaching.js index 660fdabd..4dbdebde 100644 --- a/packages/metro-bundler/src/lib/TransformCaching.js +++ b/packages/metro-bundler/src/lib/TransformCaching.js @@ -15,7 +15,7 @@ const TempDirs = require('./TempDirs'); const crypto = require('crypto'); -const debugRead = require('debug')('RNP:TransformCache:Read'); +const debugRead = require('debug')('Metro:TransformCache:Read'); const fs = require('fs'); const invariant = require('fbjs/lib/invariant'); const mkdirp = require('mkdirp'); @@ -101,7 +101,7 @@ class FileBasedCache { path.isAbsolute(rootPath), 'root path of the transform cache must be absolute', ); - require('debug')('RNP:TransformCache:Dir')( + require('debug')('Metro:TransformCache:Dir')( `transform cache directory: ${rootPath}`, ); this._rootPath = rootPath; diff --git a/packages/metro-bundler/src/node-haste/DependencyGraph/ResolutionRequest.js b/packages/metro-bundler/src/node-haste/DependencyGraph/ResolutionRequest.js index 4beeb09d..3b7e3e6e 100644 --- a/packages/metro-bundler/src/node-haste/DependencyGraph/ResolutionRequest.js +++ b/packages/metro-bundler/src/node-haste/DependencyGraph/ResolutionRequest.js @@ -16,7 +16,7 @@ const AsyncTaskGroup = require('../lib/AsyncTaskGroup'); const MapWithDefaults = require('../lib/MapWithDefaults'); const ModuleResolution = require('./ModuleResolution'); -const debug = require('debug')('RNP:DependencyGraph'); +const debug = require('debug')('Metro:DependencyGraph'); const isAbsolutePath = require('absolute-path'); const path = require('path');