This commit is a continuation from commit [3746b773f4] which is a separation of library modules into its own package from a larger project. Version control jump is significant in feature implementations due simply to under-using commit control after minor feature implementations. Project will receive better commit messages going forward on changes to the package.
10 lines
304 B
Python
10 lines
304 B
Python
if __name__ == "__main__":
|
|
import _logger
|
|
|
|
logger = _logger.Logger()
|
|
|
|
logger.debug("This is a debug message").withConsole()
|
|
logger.warn("This is a warning message").withConsole()
|
|
logger.error("This is an error message").withConsole()
|
|
|
|
logger.debug("A message to file but not TTY") |