The logging system is designed so that each event has one or more actions associated with it. The bh_log function, which is called by the script whenever something important happens, looks in the logactions table to decide what to do with each event. A log call can result in one or more of an onscreen event, a log entry in a file or the database, and an email to a specified address. This means the logging system is also used to display all on screen notifications (such as 'file upload successful' or 'file deleted') as well as logging these acitons ('user andrew deleted /andrew/test.txt').
These are used in many places throughout the script, and serve as ways for generic logging, or as is mostly the case, on screen notifications.
This shows an onscreen notification with the 'notice' or 'info' style (by default a blue i). Should be used for expected actions that have occurred as expected. Examples: 'Upload succeeded' or 'Now logged in as andrew'.
This shows an onscreen notification with the 'warning' style (by default a yellow triangle with an exclamation mark). Should be used for unexpected events or important things the user might not know about. This is also the default type. Examples: 'Login failed' or 'You're running out of disk space'.