|
yast2-core
|
Go to the source code of this file.
Classes | |
| class | Logger |
| c++ interface for logging More... | |
Macros | |
| #define | y2scanner(file, line, format, args...) y2_logger(LOG_ERROR,"Scanner",file,line,"",format,##args) |
| #define | syn2error(file, line, format, args...) y2_logger(LOG_ERROR,"Parser",file,line,"",format,##args) |
| #define | syn2warning(file, line, format, args...) y2_logger(LOG_WARNING,"Parser",file,line,"",format,##args) |
| #define | sem2error(file, line, format, args...) y2_logger(LOG_ERROR,"Runtime",file,line,"",format,##args) |
| #define | ycp2log(level, file, line, func, format, args...) y2_logger(level,"YCP",file,line,func,format,##args) |
| #define | y2ycp(level, file, line, format, args...) y2_logger(level,"Interpreter",file,line,"",format,##args) |
| #define | ycp2debug(file, line, format, args...) y2ycp(LOG_DEBUG,file,line,format,##args) |
| #define | ycp2milestone(file, line, format, args...) y2ycp(LOG_MILESTONE,file,line,format,##args) |
| #define | ycp2warning(file, line, format, args...) y2ycp(LOG_WARNING,file,line,format,##args) |
| #define | ycp2error(format, args...) |
| #define | ycp2security(file, line, format, args...) y2ycp(LOG_SECURITY,file,line,format,##args) |
| #define | ycp2internal(file, line, format, args...) y2ycp(LOG_INTERNAL,file,line,format,##args) |
| #define | ycp_log(level, format, args...) |
| #define | ycperror(format, args...) ycp_log(LOG_ERROR, format, ##args) |
| #define | ycpwarning(format, args...) ycp_log(LOG_WARNING, format, ##args) |
| #define | ycpdebug(format, args...) ycp_log(LOG_DEBUG, format, ##args) |
| #define | ycpinternal(format, args...) ycp_log(LOG_INTERNAL, format, ##args) |
| #define | ycpmilestone(format, args...) ycp_log(LOG_MILESTONE, format, ##args) |
| #define sem2error | ( | file, | |
| line, | |||
| format, | |||
| args... | |||
| ) | y2_logger(LOG_ERROR,"Runtime",file,line,"",format,##args) |
| #define syn2error | ( | file, | |
| line, | |||
| format, | |||
| args... | |||
| ) | y2_logger(LOG_ERROR,"Parser",file,line,"",format,##args) |
Referenced by Scanner::logError().
| #define syn2warning | ( | file, | |
| line, | |||
| format, | |||
| args... | |||
| ) | y2_logger(LOG_WARNING,"Parser",file,line,"",format,##args) |
Referenced by Scanner::logWarning().
| #define y2scanner | ( | file, | |
| line, | |||
| format, | |||
| args... | |||
| ) | y2_logger(LOG_ERROR,"Scanner",file,line,"",format,##args) |
| #define y2ycp | ( | level, | |
| file, | |||
| line, | |||
| format, | |||
| args... | |||
| ) | y2_logger(level,"Interpreter",file,line,"",format,##args) |
Referenced by Y2WFMComponent::CallFunction().
| #define ycp2error | ( | format, | |
| args... | |||
| ) |
Referenced by YCPMapRep::add(), Y2StdioFunction::appendParameter(), Y2YCPFunction::appendParameter(), as_boolean(), as_integer(), as_list(), as_string(), YCPValueRep::asBoolean(), YCPValueRep::asByteblock(), YCPValueRep::asCode(), YCPValueRep::asEntry(), YCPValueRep::asExternal(), YCPValueRep::asFloat(), YCPValueRep::asInteger(), YCPValueRep::asList(), YCPValueRep::asMap(), YCPValueRep::asPath(), YCPValueRep::asReference(), YCPValueRep::asString(), YCPValueRep::asSymbol(), YCPValueRep::asTerm(), YCPValueRep::asVoid(), Y2WFMComponent::CallFunction(), YSBracket::commit(), YCPValueRep::compare(), YCPPathRep::Component::Component(), Type::determineFlexType(), StdioSCRAgent::Dir(), ModulesAgent::Dir(), ScriptingAgent::Dir(), AnyAgent::Dir(), StdioSCRAgent::Error(), ScriptingAgent::Error(), YEVariable::evaluate(), YETerm::evaluate(), YECompare::evaluate(), YELocale::evaluate(), YEMap::evaluate(), YEPropagate::evaluate(), YEUnary::evaluate(), YEBinary::evaluate(), YSBracket::evaluate(), YETriple::evaluate(), YSIf::evaluate(), YEIs::evaluate(), YSWhile::evaluate(), YEBracket::evaluate(), YSRepeat::evaluate(), YSDo::evaluate(), YEBuiltin::evaluate(), YEFunction::evaluate(), YEFunctionPointer::evaluate(), Y2YCPFunction::evaluateCall(), ScriptingAgent::Execute(), SCRAgent::Execute(), ScriptingAgent::executeSubagentCommand(), f_div(), YCPMapRep::functionalAdd(), i_div(), Import::import(), l_add(), l_filter(), l_find(), l_flatten(), l_foreach(), l_listmap(), l_maplist(), l_reduce1(), l_reduce_helper(), l_remove(), l_select(), l_splitstring(), l_sublist1(), l_sublist2(), l_swaplist(), m_addmap(), m_changemap(), m_filter(), m_foreach(), m_haskey(), m_maplist(), m_mapmap(), m_remove(), SCRSubAgent::mount(), NFlexType::NFlexType(), YCPCodeCompare::operator()(), AnyAgent::otherCommand(), ScriptingAgent::Read(), AnyAgent::Read(), SCRAgent::readconf(), StaticDeclaration::readDeclaration(), Bytecode::readEntry(), AnyAgent::readFile(), StdioSCRAgent::RegisterAgent(), SCRAgent::RegisterAgent(), SCRAgent::RegisterNewAgents(), YCPMapRep::remove(), YCPListRep::remove(), s_crypt(), s_cryptblowfish(), s_cryptmd5(), s_cryptsha256(), s_cryptsha512(), s_mergestring(), s_regexpmatch(), s_regexppos(), s_regexpsub(), s_regexptokenize(), s_substring1(), s_substring2(), Setenv2(), Srandom2(), WFMSubAgent::start(), t_remove(), YETerm::toString(), YaST::agent_ini::unquote(), StdioSCRAgent::UnregisterAgent(), SCRAgent::UnregisterAgent(), SCRAgent::UnregisterAllAgents(), AnyAgent::validateCache(), YCPListRep::value(), ResolverAgent::Write(), StdioSCRAgent::Write(), IniAgent::Write(), ScriptingAgent::Write(), AnyAgent::Write(), YCPError(), YCPPathRep::YCPPathRep(), and YSImport::YSImport().
| #define ycp2internal | ( | file, | |
| line, | |||
| format, | |||
| args... | |||
| ) | y2ycp(LOG_INTERNAL,file,line,format,##args) |
| #define ycp2log | ( | level, | |
| file, | |||
| line, | |||
| func, | |||
| format, | |||
| args... | |||
| ) | y2_logger(level,"YCP",file,line,func,format,##args) |
Referenced by YaST::ExecutionEnvironment::backtrace(), and Y2Log().
| #define ycp2milestone | ( | file, | |
| line, | |||
| format, | |||
| args... | |||
| ) | y2ycp(LOG_MILESTONE,file,line,format,##args) |
Referenced by Y2WFMComponent::CallFunction().
| #define ycp2security | ( | file, | |
| line, | |||
| format, | |||
| args... | |||
| ) | y2ycp(LOG_SECURITY,file,line,format,##args) |
| #define ycp2warning | ( | file, | |
| line, | |||
| format, | |||
| args... | |||
| ) | y2ycp(LOG_WARNING,file,line,format,##args) |
| #define ycp_log | ( | level, | |
| format, | |||
| args... | |||
| ) |
Referenced by DummyAgent::Dir(), DummyAgent::Execute(), DummyAgent::Read(), and DummyAgent::Write().
Referenced by YSSwitch::evaluate(), IniParser::initMachine(), parsefile(), Xmlcode::readModule(), Bytecode::readModule(), Y2WFMComponent::SCRClose(), SCRDir(), SCRError(), SCRExecute(), SCRExecute2(), SCRExecute3(), SCRRead3(), SCRRegisterAgentS(), SCRRegisterAgentT(), SCRRegisterNewAgents(), SCRUnmountAgent(), SCRUnregisterAgent(), SCRUnregisterAllAgents(), SCRWrite2(), and SCRWrite3().
| #define ycpinternal | ( | format, | |
| args... | |||
| ) | ycp_log(LOG_INTERNAL, format, ##args) |
Referenced by l_changelist(), and m_changemap().
| #define ycpmilestone | ( | format, | |
| args... | |||
| ) | ycp_log(LOG_MILESTONE, format, ##args) |
Referenced by Y2WFMComponent::SCRClose().
| #define ycpwarning | ( | format, | |
| args... | |||
| ) | ycp_log(LOG_WARNING, format, ##args) |
Referenced by YaST::recode_errors().
1.8.2