shell running step should run only when task in foreground
Intrepid/Prometeu/Runtime/pipeline/head This commit looks good
Intrepid/Prometeu/Runtime/pipeline/head This commit looks good
This commit is contained in:
@@ -51,6 +51,46 @@ impl SystemOS {
|
||||
self.vm_runtime.log(&mut self.log_service, level, source, tag, msg);
|
||||
}
|
||||
|
||||
pub fn trace(&mut self, source: LogSource, msg: String) {
|
||||
self.log(LogLevel::Trace, source, 0, msg);
|
||||
}
|
||||
|
||||
pub fn trace_tag(&mut self, source: LogSource, tag: u16, msg: String) {
|
||||
self.log(LogLevel::Trace, source, tag, msg);
|
||||
}
|
||||
|
||||
pub fn debug(&mut self, source: LogSource, msg: String) {
|
||||
self.log(LogLevel::Debug, source, 0, msg);
|
||||
}
|
||||
|
||||
pub fn debug_tag(&mut self, source: LogSource, tag: u16, msg: String) {
|
||||
self.log(LogLevel::Debug, source, tag, msg);
|
||||
}
|
||||
|
||||
pub fn info(&mut self, source: LogSource, msg: String) {
|
||||
self.log(LogLevel::Info, source, 0, msg);
|
||||
}
|
||||
|
||||
pub fn info_tag(&mut self, source: LogSource, tag: u16, msg: String) {
|
||||
self.log(LogLevel::Info, source, tag, msg);
|
||||
}
|
||||
|
||||
pub fn warn(&mut self, source: LogSource, msg: String) {
|
||||
self.log(LogLevel::Warn, source, 0, msg);
|
||||
}
|
||||
|
||||
pub fn warn_tag(&mut self, source: LogSource, tag: u16, msg: String) {
|
||||
self.log(LogLevel::Warn, source, tag, msg);
|
||||
}
|
||||
|
||||
pub fn error(&mut self, source: LogSource, msg: String) {
|
||||
self.log(LogLevel::Error, source, 0, msg);
|
||||
}
|
||||
|
||||
pub fn error_tag(&mut self, source: LogSource, tag: u16, msg: String) {
|
||||
self.log(LogLevel::Error, source, tag, msg);
|
||||
}
|
||||
|
||||
pub fn recent_logs(&self, n: usize) -> Vec<LogEvent> {
|
||||
self.log_service.get_recent(n)
|
||||
}
|
||||
|
||||
@@ -80,7 +80,7 @@ impl PrometeuHub {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn update_system_profile(
|
||||
pub fn update_shell_profile(
|
||||
&mut self,
|
||||
os: &mut SystemOS,
|
||||
vm: &mut VirtualMachine,
|
||||
|
||||
Reference in New Issue
Block a user