mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	export logger Data types for reference elsewhere
				
					
				
			This commit is contained in:
		
							parent
							
								
									5347bbf154
								
							
						
					
					
						commit
						2c2fb8a692
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -18,8 +18,8 @@ type Context = {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
type Level = 'error' | 'success' | 'warning' | 'debug' | 'info';
 | 
					type Level = 'error' | 'success' | 'warning' | 'debug' | 'info';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
type Data = DataElement | DataElement[];
 | 
					export type Data = DataElement | DataElement[];
 | 
				
			||||||
type DataElement = Record<string, unknown> | Error | string | null;
 | 
					export type DataElement = Record<string, unknown> | Error | string | null;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// eslint-disable-next-line import/no-default-export
 | 
					// eslint-disable-next-line import/no-default-export
 | 
				
			||||||
export default class Logger {
 | 
					export default class Logger {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue