logSiteFrom

public static LogSite logSiteFrom(@Nullable() @Nullable() StackTraceElement e)

Returns a new LogSite which reflects the information in the given , or INVALID if given null.

This method is useful when log site information is only available via an external API which returns StackTraceElement.