File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
packages/logger/src/formatter Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
import { LogFormatterInterface } from '.' ;
2
- import { DefaultLoggerAttributes , LogAttributes } from '../../types' ;
2
+ import { LogAttributes , UnformattedAttributes } from '../../types' ;
3
3
4
4
abstract class LogFormatter implements LogFormatterInterface {
5
5
6
- abstract format ( attributes : DefaultLoggerAttributes ) : LogAttributes ;
6
+ abstract format ( attributes : UnformattedAttributes ) : LogAttributes ;
7
7
8
8
public formatTimestamp ( now : Date ) : string {
9
9
return now . toISOString ( ) ;
Original file line number Diff line number Diff line change 1
- import { DefaultLoggerAttributes , LogAttributes } from '../../types' ;
1
+ import { LogAttributes , UnformattedAttributes } from '../../types' ;
2
2
3
3
interface LogFormatterInterface {
4
4
5
- format ( attributes : DefaultLoggerAttributes ) : LogAttributes
5
+ format ( attributes : UnformattedAttributes ) : LogAttributes
6
6
7
7
}
8
8
You can’t perform that action at this time.
0 commit comments