In imperative languages we can do this type of thing:

SystemLogging.LogInfo("About to do something...");
DoSomething();
SystemLogging.LogInfo("Did Something");
SystemLogging.LogInfo("x is " + x );

How can we do something similar in Haskell?