fix(log types): add finance and compliance as log types

This commit is contained in:
Philipp Kunz 2018-11-07 18:39:30 +01:00
parent c819c177ce
commit c299984dd4

View File

@ -1,7 +1,30 @@
export type TLogType = 'log' | 'increment' | 'gauge' | 'error' | 'success'; /**
* the different available log types
*/
export type TLogType =
| 'log'
| 'increment'
| 'gauge'
| 'error'
| 'success'
| 'value'
| 'finance'
| 'compliance';
/**
* the available log levels
*/
export type TLogLevel = 'silly' | 'info' | 'debug' | 'note' | 'ok' | 'success' | 'warn' | 'error'; export type TLogLevel = 'silly' | 'info' | 'debug' | 'note' | 'ok' | 'success' | 'warn' | 'error';
/**
* the available environments
*/
export type TEnvironment = 'local' | 'test' | 'staging' | 'production'; export type TEnvironment = 'local' | 'test' | 'staging' | 'production';
export type TRuntime = 'node' | 'browser';
/**
* the available runtimes
*/
export type TRuntime = 'node' | 'chrome' | 'rust';
export interface ILogContext { export interface ILogContext {
company?: string; company?: string;