log level type
This commit is contained in:
parent
9adabdab48
commit
b747830c5b
|
@ -8,6 +8,7 @@ export { EnvironmentService } from './environment.service';
|
|||
export { FolderService } from './folder.service';
|
||||
export { I18nService } from './i18n.service';
|
||||
export { LockService } from './lock.service';
|
||||
export { LogService } from './log.service';
|
||||
export { MessagingService } from './messaging.service';
|
||||
export { PasswordGenerationService } from './passwordGeneration.service';
|
||||
export { PlatformUtilsService } from './platformUtils.service';
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
import { LogLevelType } from '../enums/logLevelType';
|
||||
|
||||
export abstract class LogService {
|
||||
debug: (message: string) => void;
|
||||
info: (message: string) => void;
|
||||
warning: (message: string) => void;
|
||||
error: (message: string) => void;
|
||||
write: (type: string, message: string) => void;
|
||||
write: (level: LogLevelType, message: string) => void;
|
||||
}
|
||||
|
|
|
@ -2,5 +2,6 @@ export { CipherType } from './cipherType';
|
|||
export { DeviceType } from './deviceType';
|
||||
export { EncryptionType } from './encryptionType';
|
||||
export { FieldType } from './fieldType';
|
||||
export { LogLevelType } from './logLevelType';
|
||||
export { SecureNoteType } from './secureNoteType';
|
||||
export { TwoFactorProviderType } from './twoFactorProviderType';
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
export enum LogLevelType {
|
||||
Debug,
|
||||
Info,
|
||||
Warning,
|
||||
Error,
|
||||
}
|
Loading…
Reference in New Issue