~registry/scalestack/trunk

« back to all changes in this revision

Viewing changes to scalestack/kernel/log.h

  • Committer: Eric Day
  • Date: 2010-07-02 04:33:01 UTC
  • mfrom: (56.1.4)
  • Revision ID: git-v1:1084ed00d423bd6296f3362ba35e6781eca9233a
Merged style-updates branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
   * @param[in] context Context string for this message.
54
54
   * @param[in] message Message to log.
55
55
   */
56
 
  virtual void write_log(level log_level,
 
56
  virtual void write_log(log::level log_level,
57
57
                         const char* context,
58
58
                         const char* message) = 0;
59
59
 
60
60
  /**
61
61
   * Get the string representation for a givel log level.
62
62
   */
63
 
  const char* get_level_string(level log_level);
 
63
  const char* get_level_string(log::level log_level);
64
64
 
65
65
private:
66
66
 
87
87
{
88
88
}
89
89
 
90
 
inline const char* log::get_level_string(level log_level)
 
90
inline const char* log::get_level_string(log::level log_level)
91
91
{
92
92
  switch (log_level)
93
93
  {