init
Initialize a new logger
Return
the initialized logger or null on failure
Parameters
type
the logger name
headers
the log headers (can be an empty list)
Initialize a new logger
the initialized logger or null on failure
the logger name
the log headers (can be an empty list)