fix: random deps
This commit is contained in:
		
							parent
							
								
									6c3759c70d
								
							
						
					
					
						commit
						490c0d9057
					
				
					 3 changed files with 6 additions and 8 deletions
				
			
		|  | @ -10,12 +10,12 @@ let CURRENT_DISPATCH: Dispatch = new class extends Dispatch { | |||
| 
 | ||||
| export const setDispatch = (dispatch: Dispatch) => CURRENT_DISPATCH = dispatch; | ||||
| 
 | ||||
| export const LOGT = (...args) => CURRENT_DISPATCH.process({ timestamp: new Date(), level: LogLevel.Trace, data: args }); | ||||
| export const LOGD = (...args) => CURRENT_DISPATCH.process({ timestamp: new Date(), level: LogLevel.Debug, data: args }); | ||||
| export const LOGI = (...args) => CURRENT_DISPATCH.process({ timestamp: new Date(), level: LogLevel.Info, data: args }); | ||||
| export const LOGW = (...args) => CURRENT_DISPATCH.process({ timestamp: new Date(), level: LogLevel.Warn, data: args }); | ||||
| export const LOGE = (...args) => CURRENT_DISPATCH.process({ timestamp: new Date(), level: LogLevel.Error, data: args }); | ||||
| export const LOGC = (...args) => CURRENT_DISPATCH.process({ timestamp: new Date(), level: LogLevel.Critical, data: args }); | ||||
| export const LOGT = (...args: any[]) => CURRENT_DISPATCH.process({ timestamp: new Date(), level: LogLevel.Trace, data: args }); | ||||
| export const LOGD = (...args: any[]) => CURRENT_DISPATCH.process({ timestamp: new Date(), level: LogLevel.Debug, data: args }); | ||||
| export const LOGI = (...args: any[]) => CURRENT_DISPATCH.process({ timestamp: new Date(), level: LogLevel.Info, data: args }); | ||||
| export const LOGW = (...args: any[]) => CURRENT_DISPATCH.process({ timestamp: new Date(), level: LogLevel.Warn, data: args }); | ||||
| export const LOGE = (...args: any[]) => CURRENT_DISPATCH.process({ timestamp: new Date(), level: LogLevel.Error, data: args }); | ||||
| export const LOGC = (...args: any[]) => CURRENT_DISPATCH.process({ timestamp: new Date(), level: LogLevel.Critical, data: args }); | ||||
| 
 | ||||
| export const LOG = (item: Partial<ILogItem>) => CURRENT_DISPATCH.process({ | ||||
|     flags: item.flags ?? [], | ||||
|  |  | |||
|  | @ -1,6 +1,5 @@ | |||
| import * as fs from "fs"; | ||||
| import { FormattedDispatch } from "./FormattedDispatch"; | ||||
| import { App } from "../App"; | ||||
| import { ILogItem } from "../ILogItem"; | ||||
| import { LOGE, LOGW } from "../common"; | ||||
| 
 | ||||
|  |  | |||
|  | @ -1,4 +1,3 @@ | |||
| import { object } from "zod"; | ||||
| import { Dispatch } from "./Dispatch"; | ||||
| import { ILogItem } from "../ILogItem"; | ||||
| import { LogLevel } from "../LogLevel"; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue