Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "src/subsystem/system.log"

Index

Classes

Functions

Functions

error

  • error(this: Log, text: string): void
  • Log an error message from the System context

    instance
    fires

    module:system.private~type_error

    example
    Usage var options = { id: "lab_inventory", rootDir: "labs", relativeInitDir: "black_mesa", initFilename: "inventory.yml", logging: console }; var text = "Testing Lab Inventory error log.";

    var labInventory = new System(options); labInventory.error(text);

    Parameters

    • this: Log
    • text: string

      Message

    Returns void

log

  • log(this: Log, text: string): void
  • Log message from the System context

    instance
    fires

    module:system.private~type_error

    example
    Usage var options = { id: "lab_inventory", rootDir: "labs", relativeInitDir: "black_mesa", initFilename: "inventory.yml", loggomg: console }; var text = "Lab Inventory working.";

    var labInventory = new System(options); labInventory.log(text);

    Parameters

    • this: Log
    • text: string

      Message

    Returns void

Generated using TypeDoc