pluto/test/mock/kernel/log_mock.zig

34 lines
1.1 KiB
Zig
Raw Normal View History

const mock_framework = @import("mock_framework.zig");
pub const initTest = mock_framework.initTest;
pub const freeTest = mock_framework.freeTest;
pub const addTestParams = mock_framework.addTestParams;
pub const addConsumeFunction = mock_framework.addConsumeFunction;
pub const addRepeatFunction = mock_framework.addRepeatFunction;
pub const Level = enum {
INFO,
DEBUG,
WARNING,
ERROR,
};
2020-01-01 20:12:36 +01:00
pub fn log(comptime level: Level, comptime format: []const u8, args: var) void {
//return mock_framework.performAction("log", void, level, format, args);
}
2020-01-01 20:12:36 +01:00
pub fn logInfo(comptime format: []const u8, args: var) void {
//return mock_framework.performAction("logInfo", void, format, args);
}
2020-01-01 20:12:36 +01:00
pub fn logDebug(comptime format: []const u8, args: var) void {
//return mock_framework.performAction("logDebug", void, format, args);
}
2020-01-01 20:12:36 +01:00
pub fn logWarning(comptime format: []const u8, args: var) void {
//return mock_framework.performAction("logWarning", void, format, args);
}
2020-01-01 20:12:36 +01:00
pub fn logError(comptime format: []const u8, args: var) void {
//return mock_framework.performAction("logError", void, format, args);
}