mLoggerName = loggerName; mLogger = null;
returnthe Logger // if it's non-null, then it's safe to return it if ( mLogger != null ) { return mLogger; } synchronized( this ) { if ( mLogger == null ) { mLogger = _getLogger( mLoggerName ); } } return mLogger;
// if it's non-null, then it's safe to return it if ( mLogger != null ) { return mLogger; } synchronized( this ) { if ( mLogger == null ) { mLogger = _getLogger( mLoggerName ); } } return mLogger;