Exporting some methods
public methods and automatically close log