export const contramap_ = contramap_1;
/**
 * @tsplus fluent ets/Logger contramap
 */

function contramap_1(self, f) {
  return {
    apply: (trace, fiberId, logLevel, message, cause, context, spans, annotations) => self.apply(trace, fiberId, logLevel, () => f(message()), cause, context, spans, annotations)
  };
}
/**
 * @tsplus type ets/Logger/Aspects contramap
 */


export function contramap(f) {
  return self => contramap_1(self, f);
}
//# sourceMappingURL=contramap.mjs.map