mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 15:42:09 +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
|
|
}
|