feat(core): Initial project scaffold and implementation: Deno CLI, ISO tooling, cloud-init generation, packaging and installer scripts

This commit is contained in:
2025-10-24 08:10:02 +00:00
commit ce06b5855a
31 changed files with 2873 additions and 0 deletions

29
ts/logging.ts Normal file
View File

@@ -0,0 +1,29 @@
/**
* Logging utilities for isocreator
*/
import { smartlog } from './plugins.ts';
// Create logger instance
export const logger = new smartlog.Smartlog({
logContext: {
company: 'Lossless GmbH',
companyunit: 'serve.zone',
containerName: 'isocreator',
environment: 'cli',
runtime: 'deno',
zone: 'local',
},
minimumLogLevel: 'info',
});
/**
* Log levels for convenience
*/
export const log = {
info: (message: string) => logger.log('info', message),
success: (message: string) => logger.log('info', `${message}`),
warn: (message: string) => logger.log('warn', `⚠️ ${message}`),
error: (message: string) => logger.log('error', `${message}`),
debug: (message: string) => logger.log('silly', message),
};