Skip to content

Commit

Permalink
extract logger from lighthouse (GoogleChrome/lighthouse#2528)
Browse files Browse the repository at this point in the history
  • Loading branch information
samccone authored and paulirish committed Jun 20, 2017
1 parent ebb6d47 commit 3266743
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 878 deletions.
2 changes: 1 addition & 1 deletion chrome-launcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {DEFAULT_FLAGS} from './flags';
import {makeTmpDir, defaults, delay} from './utils';
import * as net from 'net';
const rimraf = require('rimraf');
const log = require('lighthouse/lighthouse-core/lib/log');
const log = require('lighthouse-logger');
const spawn = childProcess.spawn;
const execSync = childProcess.execSync;
const isWindows = process.platform === 'win32';
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@types/core-js": "^0.9.41",
"@types/mkdirp": "^0.3.29",
"@types/node": "6.0.66",
"lighthouse": "2.1"
"lighthouse-logger": "^1.0.0"
},
"version": "0.1.3",
"description": "Launch latest Chrome with the devtools-protocol port open",
Expand Down
2 changes: 1 addition & 1 deletion test/chrome-launcher-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {Launcher} from '../chrome-launcher';

import * as assert from 'assert';

const log = require('../../lighthouse-core/lib/log');
const log = require('lighthouse-logger');
const fsMock = {
openSync: () => {},
closeSync: () => {}
Expand Down
Loading

0 comments on commit 3266743

Please sign in to comment.