Lines Matching refs:syslog_level
182 int syslog_level = LOG_ERR; in mDNSPlatformWriteLogMsg() local
185 case MDNS_LOG_MSG: syslog_level = LOG_ERR; break; in mDNSPlatformWriteLogMsg()
186 case MDNS_LOG_OPERATION: syslog_level = LOG_WARNING; break; in mDNSPlatformWriteLogMsg()
187 case MDNS_LOG_SPS: syslog_level = LOG_NOTICE; break; in mDNSPlatformWriteLogMsg()
188 case MDNS_LOG_INFO: syslog_level = LOG_INFO; break; in mDNSPlatformWriteLogMsg()
189 case MDNS_LOG_DEBUG: syslog_level = LOG_DEBUG; break; in mDNSPlatformWriteLogMsg()
199 syslog(syslog_level, "%8d.%03d: %s", (int)(t/1000), ms, buffer); in mDNSPlatformWriteLogMsg()
205 case MDNS_LOG_DEBUG: syslog_level = ANDROID_LOG_DEBUG; break; in mDNSPlatformWriteLogMsg()
207 case MDNS_LOG_OPERATION: syslog_level = ANDROID_LOG_WARN; break; in mDNSPlatformWriteLogMsg()
208 case MDNS_LOG_SPS: syslog_level = ANDROID_LOG_DEBUG; break; in mDNSPlatformWriteLogMsg()
209 case MDNS_LOG_INFO: syslog_level = ANDROID_LOG_INFO; break; in mDNSPlatformWriteLogMsg()
210 default: syslog_level = ANDROID_LOG_ERROR; break; in mDNSPlatformWriteLogMsg()
215 __android_log_print(syslog_level, "mdns", "%s", buffer); in mDNSPlatformWriteLogMsg()
217 syslog(syslog_level, "%s", buffer); in mDNSPlatformWriteLogMsg()