Writes a warning message to the console. Warning log messages provide information about unexpected and recoverable events in application flow....Writes a warning message to the console. Warning log messages provide information about unexpected and recoverable events in application flow.