Order of Layers in Effect Typescript Library

It seems that order in which i provide the Logger matters, but i can't figure out how to manage order using layers...
I have this layer for logging (for example)
export const LoggerLive = Layer.merge(
    Logger.pretty,
    Logger.minimumLogLevel(LogLevel.Debug)
)

Do i have to merge it or provide it or provideMerge it with my MainLive layer that has all the services? And in what order? I've already tried some permutations but can't get logs printing... They've only worked when i was using simple Effect.provide and haven't switched to Layers
Was this page helpful?