Added severity level on Logger
Added method trim with a 'number' parameter.
Modified because of the new Logger interface (severity level).
Added the empty OrderedSet.