Logging & Operations
Advanced hooks for system-level observability and infrastructure orchestration, powered by the high-performance XHSC Go core.
Operations Subsystem
Logging interception uses a native IPC bridge for zero overhead.
Auxiliary servers run in fully independent execution contexts.
onConsoleIntercept
Powered by the native XHSC engine, this hook provides a performance-optimized stream of all console activity. It allows for advanced auditing, centralized logging, and secondary data sinks.
Permission ID: XHS.PERM.LOGGING.CONSOLE_INTERCEPT (Privileged).
onAuxiliaryServerDeploy
Enables the deployment of independent, isolated child server instances. This is the designated method for creating auxiliary services such as documentation engines (Swagger) or administrative interfaces.
onAuxiliaryServerDeploy(ops: OpsServerManager, server: XyPrissServer): void | Promise<void> {
// Deploy a child server on port 4000
ops.createAuxiliaryServer({ port: 4000 });
}OpsServerManager Methods
createAuxiliaryServer(options)Deploys a new isolated XyPriss server on a specified port.getRouteRegistry()Returns the full registry of routes from the primary application.
Permission ID: XHS.PERM.OPS.AUXILIARY_SERVER (Privileged).
Explore the static capabilities and high-privilege access IDs.
