# useLogger

Retrieve a RuntimeLogger instance from the FireflyRuntime instance. The returned logger will log messages to all registered Logger instances.

# Reference

const logger = useLogger()

# Parameters

None

# Returns

A RuntimeLogger instance.

# Usage

import { useLogger } from "@squide/firefly";

const logger = useLogger();

logger.debug("Hello", { world: "!" });