We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09274cf commit 8ddecc3Copy full SHA for 8ddecc3
src/consola.js
@@ -4,7 +4,7 @@ import { isLogObj } from './utils/index.js'
4
let paused = false
5
const queue = []
6
7
-export default class Consola {
+class Consola {
8
constructor (options = {}) {
9
this._reporters = options.reporters || []
10
this._types = options.types || Types
@@ -283,3 +283,6 @@ Consola.prototype.mock = Consola.prototype.mockTypes
283
284
Consola.prototype.pause = Consola.prototype.pauseLogs
285
Consola.prototype.resume = Consola.prototype.resumeLogs
286
+
287
+// Export class
288
+export default Consola
0 commit comments