User entered log, a string-type log.  
 More...
#include <user_log.hpp>
User entered log, a string-type log. 
Definition at line 23 of file user_log.hpp.
 
◆ format()
  
  
      
        
          | static int MagAOX::logger::flatbuffer_log::format  | 
          ( | 
          void *  | 
          msgBuffer,  | 
         
        
           | 
           | 
          const fbMessage &  | 
          msg  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlinestaticinherited   | 
  
 
Format the buffer given the input message. 
- Todo:
 - this is an unneccesary memcpy from the FlatBufferBuilder, we need to figure out how to not do this. 
 
- Parameters
 - 
  
    | msgBuffer | the buffer, must be pre-allocated to size length(msg)  | 
    | msg | the message which contains a flatbuffer builder, from which the data are memcpy-ed.  | 
  
   
Definition at line 47 of file flatbuffer_log.hpp.
 
 
◆ length()
◆ msgString()
  
  
      
        
          | static std::string MagAOX::logger::user_log::msgString  | 
          ( | 
          void *  | 
          msgBuffer,  | 
         
        
           | 
           | 
          flatlogs::msgLenT  | 
          len  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlinestatic   | 
  
 
Get the message formatte for human consumption. 
- Parameters
 - 
  
    | [in] | msgBuffer | Buffer containing the flatbuffer serialized message.  | 
    | [in] | len | [unused] length of msgBuffer.  | 
  
   
Definition at line 32 of file user_log.hpp.
 
 
◆ defaultLevel
◆ eventCode
The documentation for this struct was generated from the following file:
- /home/jrmales/Source/MagAOX/libMagAOX/logger/types/user_log.hpp