- Queries
- All Atoms
- Search
- Advanced Search
Diviner All Atoms
All Atoms
All Atoms
- Object that writes to a logfile when it is destroyed. This allows you to add more data to the log as execution unfolds, while still ensuring a write in normal circumstances (see below for discussion of cases where writes may not occur).
- Class
- Format the log string, replacing "%x" variables with values.
- Method
- Write the log explicitly, if it hasn't been written yet. Normally you do not need to call this method; it will be called when the log object is destroyed. However, you can explicitly force the write earlier by calling this method.
- Method
- When the log object is destroyed, it writes if it hasn't written yet.
- Method
- Set quiet (logged) failure, instead of the default loud (exception) failure. Throwing exceptions from destructors which exit at the end of a request can result in difficult-to-debug behavior.
- Method
- Method
- Set the path where the log will be written. You can pass `null` to prevent the log from writing.
- Method
- Get existing log data.
- Method
- Add data to the log. Provide a map of variables to replace in the format string. For example, if you use a format string like:
- Method
- Create a new log entry, which will be written later. The format string should use "%x"-style placeholders to represent data which will be added later:
- Method
- Class
- Method
- Method
- Method
- Method
- Simple wrapper to create a temporary file and guarantee it will be deleted on object destruction. Used like a string to path:
- Class
- When the object is destroyed, it destroys the temporary file. You can change this behavior with @{method:setPreserveFile}.
- Method
- Get the path to the temporary file. Normally you can just use the object in a string context.
- Method
- Normally, the file is deleted when this object passes out of scope. You can set it to be preserved instead.
- Method
- Create a new temporary file.
- Method
- Class
- Method
- Method
- Class
- Method
- Method
- Method
- Method
- Method
- Method
- Class
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- A list of files, primarily useful for parsing command line arguments. This class makes it easier to deal with user-specified lists of files and directories used by command line tools.
- Class
- Check if the file list is empty -- that is, it contains no files.
- Method
- Determine if a path is one of the paths in the list. Note that an empty file list is considered to contain every file.
- Method
- Build a new FileList from an array of paths, e.g. from $argv.
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Method
- Class
- Method
- Method
- Method
- Method
- Method
- Method
- Method
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0