Skip to content

Commit

Permalink
Introduce Appenders, Loggers and Layouts. (#12852)
Browse files Browse the repository at this point in the history
Initial commit for the new logging subsystem. Fixes #13098 and #13105.
  • Loading branch information
azasypkin authored Jul 31, 2017
1 parent 2a98655 commit 052982d
Show file tree
Hide file tree
Showing 70 changed files with 3,788 additions and 1,776 deletions.
2,277 changes: 1,170 additions & 1,107 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
"boom": "2.8.0",
"brace": "0.5.1",
"bunyan": "1.7.1",
"chalk": "1.1.3",
"chalk": "2.0.1",
"check-hash": "1.0.1",
"color": "1.0.3",
"commander": "2.8.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/@elastic/kbn-types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ export {
KibanaFunctionalPlugin,
KibanaPlugin
} from '../../../platform/server/plugins/types';
export { Logger } from '../../../platform/logger';
export { Logger } from '../../../platform/logging';
2 changes: 1 addition & 1 deletion platform/config/ConfigService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Observable } from 'rxjs';
import { get, isEqual } from 'lodash';

import { Env } from './Env';
import { Logger, LoggerFactory } from '../logger';
import { Logger, LoggerFactory } from '../logging';
import * as schema from '../lib/schema';
import { ConfigWithSchema } from './ConfigWithSchema';

Expand Down
2 changes: 1 addition & 1 deletion platform/config/__tests__/ConfigService.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { BehaviorSubject } from 'rxjs';

import { ConfigService } from '../ConfigService';
import { Env } from '../Env';
import { logger } from '../../logger/__mocks__';
import { logger } from '../../logging/__mocks__';
import { Schema } from '../../types';
import * as schemaLib from '../../lib/schema';

Expand Down
20 changes: 0 additions & 20 deletions platform/logger/EventLogger/ConsoleLogger.ts

This file was deleted.

17 changes: 0 additions & 17 deletions platform/logger/EventLogger/Log.ts

This file was deleted.

27 changes: 0 additions & 27 deletions platform/logger/EventLogger/WinstonLogger.ts

This file was deleted.

13 changes: 0 additions & 13 deletions platform/logger/EventLogger/index.ts

This file was deleted.

47 changes: 0 additions & 47 deletions platform/logger/Level.ts

This file was deleted.

81 changes: 0 additions & 81 deletions platform/logger/LoggerAdapter.ts

This file was deleted.

65 changes: 0 additions & 65 deletions platform/logger/LoggerConfig.ts

This file was deleted.

85 changes: 0 additions & 85 deletions platform/logger/LoggerFactory.ts

This file was deleted.

Loading

0 comments on commit 052982d

Please sign in to comment.