mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-15 18:34:50 +00:00
467ab693b9
Co-authored-by: pooya parsa <pyapar@gmail.com>
8 lines
159 B
TypeScript
8 lines
159 B
TypeScript
import consola from 'consola'
|
|
|
|
export const logger = consola
|
|
|
|
export function useLogger (scope?: string) {
|
|
return scope ? logger.withScope(scope) : logger
|
|
}
|