/** * @tsplus static effect/core/io/Logger.Aspects contramap * @tsplus pipeable effect/core/io/Logger contramap */ export function contramap(f: (message: Message1) => Message) { return (self: Logger): Logger => ({ apply: (fiberId, logLevel, message, cause, context, spans, annotations) => self.apply( fiberId, logLevel, f(message), cause, context, spans, annotations ) }) }