Scoping constant properly.
Using the logging trait.