@firebase/logger
Advanced tools
Comparing version 0.4.3-canary.a97ac88db to 0.4.3-canary.e577a408c
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -17,7 +17,7 @@ /** | ||
*/ | ||
export declare type LogLevelString = 'debug' | 'verbose' | 'info' | 'warn' | 'error' | 'silent'; | ||
export type LogLevelString = 'debug' | 'verbose' | 'info' | 'warn' | 'error' | 'silent'; | ||
export interface LogOptions { | ||
level: LogLevelString; | ||
} | ||
export declare type LogCallback = (callbackParams: LogCallbackParams) => void; | ||
export type LogCallback = (callbackParams: LogCallbackParams) => void; | ||
export interface LogCallbackParams { | ||
@@ -57,3 +57,3 @@ level: LogLevelString; | ||
*/ | ||
export declare type LogHandler = (loggerInstance: Logger, logType: LogLevel, ...args: unknown[]) => void; | ||
export type LogHandler = (loggerInstance: Logger, logType: LogLevel, ...args: unknown[]) => void; | ||
export declare class Logger { | ||
@@ -60,0 +60,0 @@ name: string; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ /** |
@@ -17,7 +17,7 @@ /** | ||
*/ | ||
export declare type LogLevelString = 'debug' | 'verbose' | 'info' | 'warn' | 'error' | 'silent'; | ||
export type LogLevelString = 'debug' | 'verbose' | 'info' | 'warn' | 'error' | 'silent'; | ||
export interface LogOptions { | ||
level: LogLevelString; | ||
} | ||
export declare type LogCallback = (callbackParams: LogCallbackParams) => void; | ||
export type LogCallback = (callbackParams: LogCallbackParams) => void; | ||
export interface LogCallbackParams { | ||
@@ -57,3 +57,3 @@ level: LogLevelString; | ||
*/ | ||
export declare type LogHandler = (loggerInstance: Logger, logType: LogLevel, ...args: unknown[]) => void; | ||
export type LogHandler = (loggerInstance: Logger, logType: LogLevel, ...args: unknown[]) => void; | ||
export declare class Logger { | ||
@@ -60,0 +60,0 @@ name: string; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
{ | ||
"name": "@firebase/logger", | ||
"version": "0.4.3-canary.a97ac88db", | ||
"version": "0.4.3-canary.e577a408c", | ||
"description": "A logger package for use in the Firebase JS SDK", | ||
@@ -40,3 +40,3 @@ "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)", | ||
"rollup-plugin-typescript2": "0.31.2", | ||
"typescript": "4.7.4" | ||
"typescript": "5.5.4" | ||
}, | ||
@@ -43,0 +43,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
54866