File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -21,20 +21,20 @@ export function info<T>(data: T): T {
2121 return data
2222}
2323
24- export function log ( ...args : any [ ] ) : undefined {
24+ export function log ( message : string , ...args : any [ ] ) : undefined {
2525 // eslint-disable-next-line no-console
26- console . log ( LOG_LABEL_CYAN , ...args )
26+ console . log ( LOG_LABEL_CYAN + ' ' + message , ...args )
2727 return
2828}
29- export function warn ( ...args : any [ ] ) : undefined {
29+ export function warn ( message : string , ...args : any [ ] ) : undefined {
3030 // eslint-disable-next-line no-console
31- console . warn ( LOG_LABEL_CYAN , ...args )
31+ console . warn ( LOG_LABEL_CYAN + ' ' + message , ...args )
3232 return
3333}
3434
35- export function error ( ...args : any [ ] ) : undefined {
35+ export function error ( message : string , ...args : any [ ] ) : undefined {
3636 // eslint-disable-next-line no-console
37- console . error ( LOG_LABEL_CYAN , ...args )
37+ console . error ( LOG_LABEL_CYAN + ' ' + message , ...args )
3838 return
3939}
4040
You can’t perform that action at this time.
0 commit comments