diff options
author | dvs1 | 2024-10-25 12:23:49 +1000 |
---|---|---|
committer | dvs1 | 2024-10-25 12:23:49 +1000 |
commit | 20c2b8f7a415139c49643b5bd5b7b2740ff3fd11 (patch) | |
tree | b25e5cf080ef65a7b9718afa94ebb76cfd0bb711 /_.lua | |
parent | Print the status of some more tests. (diff) | |
download | JackOnAllDevices-20c2b8f7a415139c49643b5bd5b7b2740ff3fd11.zip JackOnAllDevices-20c2b8f7a415139c49643b5bd5b7b2740ff3fd11.tar.gz JackOnAllDevices-20c2b8f7a415139c49643b5bd5b7b2740ff3fd11.tar.bz2 JackOnAllDevices-20c2b8f7a415139c49643b5bd5b7b2740ff3fd11.tar.xz |
TODO++
Diffstat (limited to '')
-rwxr-xr-x | _.lua | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -16,6 +16,7 @@ local _ = {} | |||
16 | _.version = '0.0 crap' | 16 | _.version = '0.0 crap' |
17 | 17 | ||
18 | 18 | ||
19 | -- TODO - add the rest of the logging and debug level stuff from apt-panopticon. | ||
19 | -- This sets the global values, here and in the caller. | 20 | -- This sets the global values, here and in the caller. |
20 | D = function(s) print('DEBUG ' .. s); io.flush() end | 21 | D = function(s) print('DEBUG ' .. s); io.flush() end |
21 | I = function(s) print('INFO ' .. s); io.flush() end | 22 | I = function(s) print('INFO ' .. s); io.flush() end |
@@ -25,6 +26,7 @@ E = function(s) print('ERROR ' .. s); io.flush() end | |||
25 | C = function(s) print('CRITICAL ' .. s); io.flush() end | 26 | C = function(s) print('CRITICAL ' .. s); io.flush() end |
26 | 27 | ||
27 | 28 | ||
29 | -- TODO - move common stuff like -q, -v, --help, --version to an internal options table we scan as well. | ||
28 | _.parse = function(args, options, confFile) | 30 | _.parse = function(args, options, confFile) |
29 | local o = nil | 31 | local o = nil |
30 | 32 | ||