Typescript static logger