import { LogRecord } from '@osd/logging' ; import { Conversion } from './type' ; export const MetaConversion = { pattern : /%meta/g , convert ( record ) { return record . meta ? `${ JSON . stringify ( record . meta ) }` : '' ; } , } ;